UIViews resized to 540x600

I have a project that has many dialogue boxes that pop up. The method I've chosen (and worked well for years) is to put a UIView on a ViewController with a slightly opaque background. Dialogue info is in the UIView. With the upgrade to Xcode 16 and iOS 18 all of my UIViews in my project have been re-sized to 540x600 and I can't figure out how to change them back to their original size. Many of them are now unusable as the information they previously contained was much larger than that.

Any idea who to blame (Xcode 16 or iOS 18?) or how to fix it?

I'm desperate enough I'm willing to use code level support but it requires a small test project and the issue is with a large existing project. Can't reproduce it on a new project.

Answered by Frameworks Engineer in 822227022

To go back to the old sizing, set modalPresentationStyle = .pageSheet.

Accepted Answer

To go back to the old sizing, set modalPresentationStyle = .pageSheet.

Bless you! It works again!

One more thing though. How do I get my storyboard back? It's still restricted to 540x600 and greyed out.

Disregard. I found it on the segue transition. Thanks again!

UIViews resized to 540x600
 
 
Q