如何使用Swift将颜色更改为IOS模拟器?
答
尝试在Viewcontroller
- (UIStatusBarStyle)preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}
这个代码中看到http://stackoverflow.com/questions/17678881/how-to-change-status-bar-text-color-in-ios-7 –
选中此以及http://stackoverflow.com/questions/27124214/how-to-change-the-status-bar-color-using-ios-with-swift-on-internet-reachability – Surjeet
这是另一个链接,可以帮助你http://stackoverflow.com/questions/18977160/change-status-bar-text-colour-from-white-ios-7-xcode-5 –