// 修改导航栏背景色
self.navigationController.navigationBar.barTintColor = [UIColor cyanColor];
// 修改导航栏返回按钮颜色
self.navigationController.navigationBar.tintColor = [UIColor redColor];
// 修改导航栏标题颜色、字体大小
self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName:[UIColor magentaColor],
NSFontAttributeName:[UIFont systemFontOfSize:13.0f]};
</pre><p style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(112, 61, 170);"></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(112, 61, 170);"><span style="font-variant-ligatures: no-common-ligatures">UINavigationBar</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000"> *bar = [</span><span style="font-variant-ligatures: no-common-ligatures">UINavigationBar</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000"> </span><span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81">appearance</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000">];</span></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(112, 61, 170);"><span style="font-variant-ligatures: no-common-ligatures; color: #000000"></span><pre name="code" class="objc">// 修改导航栏返回按钮颜色
bar.tintColor = [UIColor blackColor];
// 修改全局导航栏背景色
bar.barTintColor = [UIColor redColor];