Launch Screen Image Stretches in SwiftUI

This seems to be a SwiftUI Bug, which still isn’t fixed. The only way to go around this bug is to go back to storyboards.

You have to create a launch screen storyboard and link it to your project.

To do so:

  • create a new file (cmd + n) and select launch screen
  • customize your launch screen inside the new storyboard (don’t use SVG format for images)
  • go to your project settings -> “General” and select the launch screen file as your “Launch Screen File”, which creates a new entry in your info.plist
  • remove your old SwiftUI launch screen entries in info.plist

Leave a Comment

tech