Problem
I am currently developing an iOS application in SwiftUI. I am facing a problem when I start the app in a simulator. My View gets cropped (like in the picture below).
What have I tried
I have tried changing the simulator-device to a few other iPhones but nothing has changed. The weird part about the displaying is that the app looks how it is supposed to look (not cropped) in the Xcode preview. I have tried creating a new project and there the simulation was not cropped, so I am assuming the issue has to be due to the project settings.
I am using xcodegen btw (but the issue should not be due to xcodegen because it worked perfectly fine with other projects).
Does anyone have a fitting solution for me?
1