Conversation
|
I'm sorry if I leave this in the wrong thread, but how can I add the CRNavigationController when using Storyboard? |
|
Change the class of the UINavigationController to CRNavigationController, in the Storyboard. |
It's not working because from storyboard it's use - (id)initWithCoder:(NSCoder *)aDecoder method. Any other solution? |
What worked for me was to change both the navigation controller's class to CRNavigationController and change the navigation controller's navigation bar's class to CRNavigationBar. I did not have to implement a custom initWithCoder for it to work with storyboards this way. |
I just expanded on what you did and added support for the tab bar as well. Thanks for your useful library!