摘要:
Here's a less-ugly solution that works for both iOS4 and 5:@implementationUINavigationBar(CustomBackground)-(UIImage*)barBackground{ return[UIImage imageNamed:@"top-navigation-bar.png"];}-(void)didMoveToSuperview{ //iOS5 only if([self respondsToSelector:@selector(setBackgroundImage:for 阅读全文