1 min readSep 4, 2020
If you do add .resizable() and then .aspectRatio(contentMode: .fill)
.fill makes sure that the image takes the entire frame, without stretching or shrinking the pixels. it scales evenly.
If you do add .resizable() and then .aspectRatio(contentMode: .fill)
.fill makes sure that the image takes the entire frame, without stretching or shrinking the pixels. it scales evenly.
✨ I enjoy pushing the boundaries of JS, Python, SwiftUI and AI. You can support my work through coffee - www.buymeacoffee.com/MLMusings