When using SwiftUI Image, you can use .scaledToFit, .scaledToFill, or use no modifier to disable scaling.
SkipUI seems to always use .scaledToFit. In ImagePlayground in SkipUI 1.53.1, all three of the variation images look the same. (It does work if you use .aspectRatio() with a contentMode.)
| iOS |
Android |
 |
 |
When using SwiftUI
Image, you can use.scaledToFit,.scaledToFill, or use no modifier to disable scaling.SkipUI seems to always use
.scaledToFit. InImagePlaygroundin SkipUI 1.53.1, all three of the variation images look the same. (It does work if you use.aspectRatio()with acontentMode.)