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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -