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
2009-11-04 08:08:09
+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
2009-11-04 09:16:30
thanks for the help gerry
Gani
2009-11-04 11:40:15
If you find an answer to your question useful, you should consider accepting that answer.
gerry3
2009-11-04 19:35:30