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

enter image description here

how change statusbar color default searchbar gray color ?

enter image description here

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

enter image description here

the space status bar lost in white background.

func viewdidload() {     super.viewdidload()     edgesforextendedlayout = uirectedge.none } 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -