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