iphone - Unsupport Orientation in iOS6 -


my app totally work on portrait mode, have 1 uiviewcontroller needs in landscape mode in ios6.

so:

  • one uiviewcontroller should support landscape mode.
  • the others uiviewcontroller should support portrait mode.

if change on supported interface orientations support both modes, can't prevent them rotate.

the problem (i assume) using uinavigationcontroller interface. ios doesn't support forcing different view controllers in navigation interface different orientations.

indeed, individual view controllers not consulted. have subclass uinavigationcontroller , have dictate orientation.

but won't able force rotation when changing view controllers. way presented view controller.

this has been explained many, many, many times here on stack overflow. please search before posting.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -