UIStatusBarStyle PreferredStatusBarStyle does not work
来源:互联网 发布:广州525孕妇摄影淘宝网 编辑:程序博客网 时间:2024/04/30 08:50
down vote
I discovered that if your ViewController is inside a navigationController then the navigationController’s navigationBar.barStyle
determines the statusBarStyle.
Setting your navigationBar’s barStyle
to UIBarStyleBlackTranslucent
will give white status bar text (ie. UIStatusBarStyleLightContent
), and UIBarStyleDefault
will give black status bar text (ie. UIStatusBarStyleDefault
).
Note that this applies even if you totally change the navigationBar’s color via its barTintColor
.
0 0
- UIStatusBarStyle PreferredStatusBarStyle does not work
- "+y does not work
- MR_SHORTHAND does not work
- Why "RefreshRecord" does not work
- Cognos Schedules does not work
- basename() does not work with Japanese
- "hadoop fs -conf " does not work
- Hard Work Does not Pay Off
- Document ID does NOT work issue
- error:The C++ compiler does not work
- Hard Work Does Not Pay Off
- how-to: resolve crontab does not work
- Cognos Scheduled Report Does not Work
- (OK) IPv6 does not work over bridge
- Why does my Authorize Attribute not work-
- Why does my Authorize Attribute not work-
- Why does my Authorize Attribute not work-
- Why does my Authorize Attribute not work-
- Xcode运行范例程序遇到的问题Command /bin/sh failed with exit code 1
- split 分割 字符串(分隔符如:* ^ : | , .) 及注意点
- 设计模式之:构造者模式
- 朴素贝叶斯
- 西门子S7-200 Smart PLC过程控制工控机数据记录与曲线显示系统
- UIStatusBarStyle PreferredStatusBarStyle does not work
- 可公度线段与欧几里得(Euclid)算法
- CocoaPods安装、卸载、使用说明(Mac ox 10.11+)
- Linux 最常用的操作命令
- skb-5
- 触发器trigger
- Microscan Visionscape/Autovision通用工业智能相机视觉检测系统
- android singleTask 加载模式的理解
- ActiveMQ动态发现集群