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

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -