Changing the Status Bar Color for specific ViewControllers using Swift in iOS8

override func preferredStatusBarStyle() -> UIStatusBarStyle { return UIStatusBarStyle.LightContent; } Using the above code in any ViewController to set the statusBar color to White for a specific viewcontroller doesnt work in iOS8 for me. Any suggestions? Using the UIApplication.sharedApplication method, the color changes after required changes in the Info.plist for the whole app. // Change the … Read more

Android Completely transparent Status Bar?

I’ve searched the documentation but only found this: Link. Which is used to make the bar translucent? What I’m trying to do is to make the status bar completely transparent (as shown in the image below) and make it backwards compatible for APK<19: My styles.xml: <resources xmlns:tools=”http://schemas.android.com/tools”> <style name=”AppTheme” parent=”Theme.AppCompat.Light”> <item name=”android:actionBarStyle”>@style/ThemeActionBar</item> <item name=”android:windowActionBarOverlay”>true</item> <!– … Read more

Cannot hide status bar in iOS7

I just upgraded my iPhone 5 iOS 7 to four beta version. Now when I run my app from Xcode 5 on this iPhone, status bar doesn’t hide, even though it should. Not Working: [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade]; Not Working: [UIApplication sharedApplication].statusBarHidden = YES; Can’t login to Apple Developer Forums 26 Answers 26