Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要更改Status Bar文本的颜色iOS7。
Status Bar
iOS7
所以我尝试了以下代码。
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;
但它不起作用,仍然显示白色,如下图所示。我想改成black color。
black color
那么我该如何改变呢?