swift - Cannot set iOS Status Bar Colour for View -


i developing app ios8, using swift 1.2.

however, having issue colour of status bar (the 1 time, battery indicator etc).

in info.plist file, have uiviewcontrollerbasedstatusbarappearance set yes status bar style set uistatusbarstylelightcontent , in view controllers in storyboard, have status bar set "light content".

enter image description here

this works of navigationviewcontrollers , views embedded within navigationviewcontrollers, have 1 normal tableviewcontroller not embedded in navigationcontroller, , when push view modally, status bar changes black!???

even when @ view in storyboard editor shows white status bar (note faint white battery indicator @ right of below screenshot):

enter image description here

but when build , run on iphone, status bar shows black...

why this? how can fix this? don't know incorrect.

please make sure add view controller-based status bar appearance (uiviewcontrollerbasedstatusbarappearance) value no info.plist


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -