Instantly share code, notes, and snippets.
You make my day!
Thank you :) You made my day - much respect :)
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?