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".
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):
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
Post a Comment