iphone - Unsupport Orientation in iOS6 -
this question has answer here:
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
Post a Comment