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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -