I would like to hide the navigation bar button, which is part of the Story panel, I tried the following different code snippets in the detailed view. Nothing seems to work for me.
self.navigationItem.hidesBackButton = YES; self.navigationItem.backBarButtonItem=nil;
PS: I also have a tab bar along with a navigation bar in my bulletin board.
Add this line to the viewDidLoad of your ViewController, where you want to hide the button on the back panel:
[self.navigationItem setHidesBackButton:YES];
Successfully tested in a storyboard project.
try it
self.navigationItem.hidesBackButton= YES;
navigationController (, ), :
myViewController.navigationItem.leftBarButtonItem = nil; myViewController.navigationItem.hidesBackButton=YES;
:
self.navigationController.navigationBar.hidden = YES;
.
- , , , , , ...
, ."", :
self.navigationController.navigationItem.leftBarButtonItem.hidden = YES;
self.navigationItem.leftBarButtonItem.hidden = YES;
BarButton, , .