I wanted to add a navigation controller to a view based application . how can we do this both programmatically and using xib file..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need to incorporate a navigation controller in your uiviewcontroller you need to initialize it as it follows
If you are in the UIApplicationDelegate method
You can’t do a presentModalViewController:navController animated… then you need to add the navController.view to the window