Use needsStatusBarAppearanceUpdate
to update status bar in viewDidLoad:method of view controller
[self setNeedsStatusBarAppearanceUpdate];
Now add below method into view controller:
- (UIStatusBarStyle) preferredStatusBarStyle
{
return UIStatusBarStyleLightContent;
}