I am embedded in the navigation controller in the viewController, and the navigation bar item is displayed (in the path editor), and I can change the title, but the navigation bar does not appear in (path editor), and therefore I can not change the color of the hue. So I tried to add to the navigation bar programmatically, for example:
.h file
@property (strong, nonatomic) UINavigationBar *nav;
.m file
nav = [[UINavigationBar alloc] initWithFrame:CGRectMake(0, 0, 320, 50)];
self.nav.tintColor = [UIColor blueColor];
[self.view addSubview:nav];
And here is the result:

Update

source
share