You can do this without writing any line of code!
Do the following to make the status bar text color white through the whole app
On you project plist file:
- Status bar style:
UIStatusBarStyleLightContentTransparent black style (alpha of 0.5) - View controller-based status bar appearance:
NO - Status bar is initially hidden:
NO