iPad not firing orientation changes when primary views hidden


this one was driving me crazy. I have an app that has a UISplitView, and in the left view there is an navigation hierarchy, so at some point controllers will pushed up the view stack. Well, at that point UIApplicationWillChangeStatusBarOrientationNotification will no longer be fired!

So you need to clean up your windows when they disappear (viewWillDissapear) or you have no idea why suddenly your great app is no longer rotating as expected.

Tagged with: , ,
Posted in Apple, Code

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: