これはappdelegateです:
UINavigationController *moreController = _tbc.moreNavigationController;
moreController.navigationBar.tintColor = [UIColor blackColor];
UIImage *image = [UIImage imageNamed:@"navBar.png"];
[image drawInRect:rect];
/* UITableView *moreTableView = (UITableView *)moreController.topViewController.view;
// [moreTableView initWithFrame:CGRectZero style:UITableViewStyleGrouped];
[moreTableView setBackgroundColor:BACKGROUNDCOLOUR];*/
背景色を変更した場合にのみ機能しますが、背景を画像に置き換えるにはどうすればよいですか?
[解決済み]
今その作品!
[moreController.navigationBar setBackgroundImage:[UIImage imageNamed: @"navBar.png"] forBarMetrics:UIBarMetricsDefault];