Mac Catalyst resolution

I'm porting an iOS game to Mac Catalyst. When launched the game starts in a small window and seems to ignore the provided dimensions from code. Is there are a way to controll the window resolution or even better make it run in fullscreen?


The following post https://stackoverflow.com/questions/58526250/is-it-possible-to-use-full-screen-in-mac-catalyst suggests making additional mac bundle, but it looks a bit hacky and wondering if it might cause App store submission failure. Is there any official documentation or guidance on the matter ?

Replies

I'd listen to that SO thread, keeping in mind that some feel hacky and Catalyst are synonymous 😉


Otherwise, if this is something you'd like to see added to Catalyst, feel free to file an enhancement request via the bug reporter link below, being sure to add your report# to your thread for ref., thanks and good luck.

Hi stdomi, I would recommend checking out this page for official Mac Catalyst documentation from Apple: https://developer.apple.com/design/human-interface-guidelines/ios/overview/mac-catalyst/

... If the provided link does not help you to resolve this issue, please let us know by providing feedback through Feedback Assistant. Be sure to include what steps you took to try and resolve the issue on your own, what you expected to happen or be available to you, and what would have made the experience better.
You can constrain the size of your window in two ways:
  • setting .canResizeToFitContent on your UIWindow to true, and adding size constraints to it, or

  • setting the properties of the .sizeRestrictions property of UIWindowScene to assign a min and max size.