Image(\"Image_Name\")
.resizable()
.frame(width: 32.0, height: 32.0)
Others modifier:
.border()
.shape()
.scaleToFill()
.aspectRatio()
.clipShape(Circle())
SHORT QUESTIONS
How to resize Image with SwiftUI?
Image(\"Image_Name\") .resizable() .frame(width: 32.0, height: 32.0) Others modifier: .border() .shape() .scaleToFill() .aspectRatio() .clipShape(Circle())
0 Comments
Leave a Comment