Hey guys, im building an app that implements a navbar with a navigation controller. Right now all it consists of is the intial view that has a button on it that pushes my next view to the screen. However, after I push the view the NavBar doesn't have a title.
I'm assuming I can change the NavBar Title in code right after I push it to the screen I just haven't been able to get it to work.
What I tried already was:
Code:
- (void)viewDidLoad {
self.navigationController.title = @"Main Menu";
[super viewDidLoad];
}
which is the predefined function when you creating a new viewController class. This however didn't seem to do anything