ios - How to change statusBar background color when search is active? -
i've used uisearchcontroller. when click on search bar, navigation bar hides , search bar goes top of screen. but, shows space between top of screen , search bar
how change statusbar color default searchbar gray color ?
statusbar font colour white, hence when user click search bar, auto above status bar information becomes invisible.so need cover area default gray color too, user can see status bar.like this
the space status bar lost in white background.
func viewdidload() { super.viewdidload() edgesforextendedlayout = uirectedge.none }
Comments
Post a Comment