Custom Navigation Bar in iOS 5

拈花ヽ惹草 提交于 2020-01-14 04:04:28

问题


I use a class to style the NavigationControllers in iOS 5. The problem I have is the moreNavigationController which is created automatically. I found a way to style the moreNavigation itself,

if ([[[UIDevice currentDevice] systemVersion] intValue] >= 5.0){
    [self.rootController.moreNavigationController.navigationBar setBackgroundImage:     [UIImage imageNamed:@"noten_header.png"] forBarMetrics:UIBarMetricsDefault];
}

but i have no clue how I style the edit view of the moreNavigationController (if you are on the tab "more" and click the edit button). Any ideas except creating a new moreNavigationController?

来源:https://stackoverflow.com/questions/8229345/custom-navigation-bar-in-ios-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!