Post

Replies

Boosts

Views

Activity

Reply to Objective C App has wrong [UIScreen mainScreen].bounds value since iOS 16
I would really appreciate a framework engineer's feedback here. I can't seem to figure out how to solve the issue. I have thought about using a storyboard setup for the app, but this would result in a lot of overhead work. Also, I don't even know if the issue would actually be resolved this way. I simply suspect it would be, since newly created objective c projects (which use storyboards by default) are displayed as you would expect.
Oct ’22
Reply to Objective C App has wrong [UIScreen mainScreen].bounds value since iOS 16
The issue seems to originate from a layer above the WindowScene. I checked, and the value reported for self.view.window.windowScene.screen.bounds is the same as for the mainScreen's bounds. Also as mentioned in my question, forcing the window (which is as far as I know the outermost layer I can access) to be a different size doesn't solve the issue. The window itself seems to be clipped inside those 320x480pt bounds.
Sep ’22