iphone - iOS - Rotation with a Nav Controller -
it's small annoying issue. i'm using navigation controller , not rotate. using code before without navigation controller , rotating beautifully. isn't calling "-(bool)shouldautororatetointerfaceorientation..." i'm @ bit of loss.
thanks in advance.
edit: , yes have "-(bool)canbecomefirstresponder" set.
edit2: have calling "-(bool)shouldautororatetointerfaceorientation..." when app first runs , @ point screen rotated when shows navcontroller sets portrait mode...
there's problem uiwindow
propagating these events view controllers other root one. if you're adding controller directly uiwindow
, isn't first 1 you've added, add root view instead.
otherwise, you'll need take @ implementing own rotation transformations. i've got uiviewcontroller subclass heavy lifting on github here.
Comments
Post a Comment