I am running to a new viewcontroller
and am trying to remove the back button
completely. Here is what I am doing:
/* HIDE BACK BUTTON ON NAVIGATiON */
self.navigationItem.hidesBackButton = YES;
//<!-- Make sure navigation bar shows
self.navigationController.navigationBar.hidden = NO;
Now when I run this inside the ViewController
viewdidload()
of the current active controller it disabled the back button but the text back
does not go away. Before that I use a [self performSegueWithIdentifier:@"pushToHomePage" sender:self];
to send it to the current ViewController
that I am trying to remove the back button from.
Suggestions, thoughts?