IOS How to change Status Bar text color in iOS 7

  1. Set the UIViewControllerBasedStatusBarAppearance to YES in the plist
  2. In viewDidLoad do a [self setNeedsStatusBarAppearanceUpdate];
  3. Add the following method:
    -(UIStatusBarStyle)preferredStatusBarStyle{ 
        return UIStatusBarStyleLightContent; 
    }

Comments

Popular posts from this blog

LINUX Move and copy files using SSH

PHP Predefined Variables

Java : Variables Declaring