Is there a way to hide the navigation controller button from the navigation bar in Storyboards?
I don t want the user to be able to go back to the previous view using the navigation controller
Thanks
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.
You can do this quite simply using this code in your
(void)viewDidLoadmethod:Edit: if you have further navigation in the view (i.e if the view can navigate forward to other views which are allowed to go back to it) it might be a good idea to implement it in the
-(void)viewDidAppear:(BOOL)animatedmethod instead.