Answers for "how to get size from image in swift"

0

increase the size of the image in Swiftui

struct ResizedImage: View {
    var body: some View {

            Image("myImage")
                .resizable()
                .scaledToFit()
                .frame(width: 200.0,height:200)

    }
}
Posted by: Guest on April-08-2021

Code answers related to "how to get size from image in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language