iOS8.1(xcode 6.1) I used the below method to change the status bar text color.
[self setNeedsStatusBarAppearanceUpdate];
-(UIStatusBarStyle)preferredStatusBarStyle{
return UIStatusBarStyleLightContent; }
following the link preferredStatusBarStyle isn't called
But this is not working for me.Anyone knows how to change status bar color related to uinavigationcontroller.