1. 设置navigationBar的背景色:
[self.navigationBar setBackgroundImage:createImageWithUIColor([UIColor redColor], CGSizeMake(1, 1)) forBarMetrics:(UIBarMetricsDefault)];
1. 设置navigationBar的背景色:
[self.navigationBar setBackgroundImage:createImageWithUIColor([UIColor redColor], CGSizeMake(1, 1)) forBarMetrics:(UIBarMetricsDefault)];