Image Modifiers...
.border
.clipped
Image(decorative: "xxx")
.frame
// .frame(maxWidth: .infinity, maxHeight: .infinity)
.aspectRatio(1, contentMode: .fit).frame(maxWidth: .infinity, maxHeight: .infinity)
.aspectRatio(1, contentMode: .fit)ImagePaint()
.resizable()
.scaledToFill()
.scaledToFit()
Last updated

