Is it the correct to connect the UINavigationController outlets to the AppDelegate?
I have declared the NavigationController in the app delegate so I am pretty sure this is the correct corse of action but I’m just wanting confirmation or advice on why it shouldn’t be.
Is it the correct to connect the UINavigationController outlets to the AppDelegate? I have
Share
No. I think, you are trying to connect
delegatetoNavigation Controller. You should not adddelegatefornavigationController.If you are using iOS 5 then, you can just drag and drop the
navigationControllerin storyboard.In iOS 4, you have to give
outletandsynthesizeit and then addnavigationControllerintosubviewforwindow. thats it.You don’t need to add
delegatefornavigationControlleranytime.