iPad - Requires fullscreen programmatically

Hi,


is there a possibility to set the flag for the requirement of fullscreen of iPad app programmatically? Or is there a way to prevent Portrait mode of an app, until the side-by-side mode is activated?


I want to create an app that will require landscape mode but when side-by-side mode is active it will adapt its UI.

Yeah you can do this using Size Classes I beleive.



Have a look in the iOS Documentation I think theres a guide how to do it. It was introduced to have Apps work on iPhone 6 and 6 Plus without compromising the UI Layouts.

iPad - Requires fullscreen programmatically
 
 
Q