views:

358

answers:

2

i am using a pushviewcontroller for navigation and i am getting default back button on the navigation bar..... i am trying to hide that default button and make my navigation bar plain.....anybody know how to hide that default navigation button on left side of the screen

A: 

Try to set self.title = @""; just before using pushViewcontroller method.

Imran Raheem
+3  A: 

In the viewDidLoad method of the view controller that is being pushed, you should set the hidesBackButton property of the navigationItem to YES:

- (void)viewDidLoad {
    [super viewDidLoad];

    self.navigationItem.hidesBackButton = YES;
}
gerry3
thanks for the help gerry
Gani
If you find an answer to your question useful, you should consider accepting that answer.
gerry3