IOS7 navigatinBar tintColor改变我开发iPad应用。我正在用导航控制器在popover中打开一些屏幕。但我并没有改变navigationcontroller色调颜色IOS 7.我怎样才能改变这种颜色。感谢名单在酥料饼
UINavigationController *navigationController = [[[UINavigationController alloc] initWithRootViewController:airportsSearch] autorelease];
navigationController.navigationBar.barTintColor = [UIColor blackColor];
navigationController.navigationBar.translucent = NO;
self.popOver=[[UIPopoverController alloc] initWithContentViewController:navigationController];
self.popOver.delegate = self;
[self.popOver setPopoverContentSize:CGSizeMake(285, 370)];
[self.popOver presentPopoverFromRect:tempButton.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionLeft animated:YES];
http://stackoverflow.com/questions/18929864/how-do-i-change-the-navigation-bar-color-in-ios-7/18929980#18929980 – Rajneesh071
@ Rajneesh071此方法不起作用: ( – hiwordls
可以给我你的示例代码吗? – Rajneesh071