i have a nav bar based app, where, only for the first screen i need to hide nav bar and everything else i need to show nav bar.
i am doing following in the firstviewcontroller
Everything works fine, i am on a snow leopard 10.6.8 and xcode 4.2
but my customer complains that nav bar is visible in his system in secondviewcontroller but back button is missing, hence he cannot come back to first view controller when he goes to secondviewcontroller.
I am unable to reproduce it in my environment in 3 mac machines.
i have not tested in lion as yet, as I need to purchase Lion dvd to upgrade [am i right ?]
what could be possible solution ?
regards
i am doing following in the firstviewcontroller
Code:
- (void) viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
self.navigationController.navigationBar.hidden = NO;
}
- (void) viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
self.navigationController.navigationBar.hidden = YES;
}
Everything works fine, i am on a snow leopard 10.6.8 and xcode 4.2
but my customer complains that nav bar is visible in his system in secondviewcontroller but back button is missing, hence he cannot come back to first view controller when he goes to secondviewcontroller.
I am unable to reproduce it in my environment in 3 mac machines.
i have not tested in lion as yet, as I need to purchase Lion dvd to upgrade [am i right ?]
what could be possible solution ?
regards