Created
October 5, 2012 20:27
-
-
Save lessthanyouthink/3842178 to your computer and use it in GitHub Desktop.
A simple UINavigationController subclass to handle iOS 6's orientation changes better.
Happy to help! :)
Hey there! Where would I add this in my project? I'm using storyboards, and don't have an actual NavigationController.h/.m file. Thanks!
Would I just assign it to my Navigation Controller, that's inside my storyboard? Thanks!
@VAlexander You can put this code into a category and you'll get the very same effect. No need to subclass all your UINavigationControllers.
How can we make NavController to re-evaluate its orientation when it loads another view controller?
Any Idea how to make this work if i have a UITabBarController?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you :) You made my day - much respect :)