title: SwiftUI Image component shrinks when resized
body: <p>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.</p>
  
  <pre><code>var body: some View {
      Image("profilepic")
          .resizable()
          .aspectRatio(contentMode: .fit)
  }
  </code></pre>
  
  <p>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.</p>
  
  <p>The fit is working fine, but the image is not keeping the aspect ratio, it shrinks.</p>
  
  <p>If you have encounter this issue and know how to fix it let me know.</p>