---
title: "ios7更改导航条颜色"
author: "zani"
date: "2014-03-24T11:14:29Z"
tags: []
categories: ["移动开发"]
slug: "ios7"
draft: false
lastmod: "2014-03-24T11:14:29Z"
id: 2035344
url: "https://zani.iteye.com/blog/2035344"
---

1. Set UIViewControllerBasedStatusBarAppearance to NO.
2. Call `[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];`