在xcode 6.4 中设置 ios应用的状态栏的风格
2015-08-21 09:16
549 查看
In your Info.plist you need to define View controller-based status bar appearance to any value.
enter image description here
If you define it YES then you should override preferredStatusBarStyle function in each view controller.
If you define it NO then you can set style in AppDelegate using
enter image description here
If you define it YES then you should override preferredStatusBarStyle function in each view controller.
If you define it NO then you can set style in AppDelegate using
NSLog("设置顶部状态栏的状态") UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: false)
相关文章推荐
- iOS 9学习系列:如何使用ATS提高应用的安全性
- IOS Webview JS交互之事件拦截获取
- iOS-CoreLocation:无论你在哪里,我都要找到你!
- [iOS备忘录]使用蓝牙耳机headset录音
- 通过WireShark抓取iOS联网数据实例分析
- ios Instruments 内存泄露
- Xcode6下iOS单元测试——XCTest和GHUnit框架简介和比较
- iOS开发小白学习体验-3
- IOS开发札记(2015-08-20)
- 使用CIFilter生成二维码并自定义
- 学习iOS,你能迎娶到白富美吗?
- iOS应用程序生命周期(前后台切换,应用的各种状态)详解
- iOS系统和XCode各版本发布日期
- IOS开发札记
- iOS笔记--百度地图环境配置
- iOS之项目管理---25个Git进阶技巧
- iOS/Mac开发中各种锁的使用
- ios-界面之间传值
- ios系统 越狱系统还原[平刷]
- iOS 代码 AutoLayout