ios - Do "Supported Interface Orientations" have precedent? -


i'm developing app , 1 screen auto-rotate landscape.

this rotating screen in app.

i'm trying find easiest way of doing this.

if set supported orientations in build summary page (i.e. toggle buttons) portrait. can override in code screen want auto-rotate?

or have other way round? i.e. support orientations , disable screens don't want rotate?

thanks

or have other way round? i.e. support orientations , disable screens don't want rotate?

yes. must list info.plist all orientations support. limit particular view controller orientations supportedinterfaceorientations. 1 landscape view controller must presented, i.e. use "modal" segue or call presentviewcontroller:animated:.

my answer here may useful:

https://stackoverflow.com/a/13755923/341994

and answer here:

https://stackoverflow.com/a/15301322/341994


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -