IOS7 以上如何修改状态栏的主题
2016-06-05 本文已影响17人
米修斯_
1.在plist 的文件中添加 “View controller-based status bar appearance”,设为NO ;
2. 如果想在启动的时候全屏显示。。选中 Hide status bar 。但是还要在didFinishLaunchingWithOptions 中 把 statusbar 设置显示。。
![](https://img.haomeiwen.com/i1547327/1ccb58fc2b9fb851.png)
3. 这样就可以在各个VC 中改变主题。。
1.在plist 的文件中添加 “View controller-based status bar appearance”,设为NO ;
2. 如果想在启动的时候全屏显示。。选中 Hide status bar 。但是还要在didFinishLaunchingWithOptions 中 把 statusbar 设置显示。。
3. 这样就可以在各个VC 中改变主题。。