I've been testing out SwiftUI and I guess most of you have too. I am having a weird issue, most probably a bug, but maybe someone else have found a workaround for it.
var body: some View {
Image("profilepic")
.resizable()
.aspectRatio(contentMode: .fit)
}
In a normal situation I'd expect that image to be resized and have big margins in the screen because I set the content mode to fit, if I'd use fill it will just fill the whole screen.
The fit is working fine, but the image is not keeping the aspect ratio, it shrinks.
If you have encounter this issue and know how to fix it let me know.

