标签:
状态栏,默认为黑色,改为白色步骤:
1.在info.plist中添加键值对:
<key>UIViewControllerBasedStatusBarAppearance</key> <false/>
2.添加代码:(添加到什么位置,根据你的需求)[[UIApplication sharedApplication] setStatusBarHidden:NO];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
标签:
原文地址:http://www.cnblogs.com/xiu619544553/p/5163812.html