文章目录
  1. 1. How to change Status Bar text color in iOS 7
  2. 2. How to change Status Bar text color in iOS 7

How to change Status Bar text color in iOS 7

Ios7 someTrouble

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;
    
    }
    
文章目录
  1. 1. How to change Status Bar text color in iOS 7
  2. 2. How to change Status Bar text color in iOS 7