I want to create a button that can trigger a push segue in my navigation controller but I don't want a navigation bar, how could i do this?
Asked
Active
Viewed 2,818 times
1
-
this question might help http://stackoverflow.com/questions/12518271/creating-manual-segue-correctly-through-storyboard-and-xcode – Kassem Oct 31 '12 at 01:36
2 Answers
1
I'm going to assume you know how to create the push navigation, and the question is on how you can remove the nav bar (if I'm wrong, let me know and I'll edit my answer).
In the second view controller add the following code:
- (void)viewDidLoad
{
[super viewDidLoad];
self.navigationController.navigationBarHidden = YES;
}

J Shapiro
- 3,861
- 1
- 19
- 29