My question is simple, How to hide back button in navigation bar? I see similar question here in stack overflow but
self.navigationItem.hidesBackButton = YES;
not working for me. I am using below code because RootViewController is my Singleton class.
Thanks
i still use both in viewDidLoad but both are not working
[RootViewController sharedFirstViewController].navigationItem.hidesBackButton = YES;
[RootViewController sharedFirstViewController].navigationItem.backBarButtonItem=nil;