Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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)

    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #increase #size #image #Swiftui
ADD COMMENT
Topic
Name
6+7 =