I had an issue with my iOS phonegap app having the status bar overlap the webview in iOS 7. I found this answer which fixed the problem, but the second step, calling
Turns out it is unnecessary to add [self setNeedsStatusBarAppearanceUpdate]; and the app ran fine in iOS 6 and iOS 7.
[self setNeedsStatusBarAppearanceUpdate];