博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ios7 设置status bar风格
阅读量:7103 次
发布时间:2019-06-28

本文共 542 字,大约阅读时间需要 1 分钟。

4
 

When I launch my app, it shows the launch image and a black status bar. How can I change it so the status bar is light during launch? I have set the status bar appearance to light in my AppDelegate didFinishLoading method, and it works for the rest of the app.

|
|
 

1 Answer

5

To your Info.plist file add this key-value pair:

UIStatusBarStyle:UIStatusBarStyleLightContent

The default (black) value is UIStatusBarStyleDefault.

You can also append ~iphone or ~ipad to the key.

|
|
 

转载地址:http://edchl.baihongyu.com/

你可能感兴趣的文章
关于Python的super用法
查看>>
[AC自己主动机+可能性dp] hdu 3689 Infinite monkey theorem
查看>>
Best Premium Private Proxy Service | Lime Proxies
查看>>
【DRP】删除递归树的操作
查看>>
STM32 USART 波特率计算
查看>>
JQuery EasyUI 之 DataGrid
查看>>
解析大型.NET ERP系统架构设计 Framework+ Application 设计模式
查看>>
Oracle层次查询
查看>>
HDU 1754 I Hate It (段树单点更新)
查看>>
【ACM】不要62 (数位DP)
查看>>
【转载】MFC的Main函数跑哪去了
查看>>
C# 之 将string数组转换到int数组并获取最大最小值
查看>>
读写分离
查看>>
C#~异步编程再续~async异步方法与同步方法的并行
查看>>
[Android Pro] 超能RecyclerView组件使用
查看>>
IOS多选单选相册图片
查看>>
sdut 在机器上面向对象编程练习11(运算符重载)
查看>>
Oracle Dataguard Standby Redo Log的两个实验
查看>>
数据结构-排序
查看>>
Android color(颜色) 在XML文件和java代码中
查看>>