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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -