在plist文件里添加 View controller-based status bar appearance == NO 默认是YES
然后在delegate写入:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
或者直接在plist里加入:Status bar style == UIStatusBarStyleLightContent
在plist文件里添加 View controller-based status bar appearance == NO 默认是YES
然后在delegate写入:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
或者直接在plist里加入:Status bar style == UIStatusBarStyleLightContent