title: How to change statusBar background color when search is active?
body: <p>I've used UISearchController. When I click on the search bar, navigation bar hides and search bar goes to the top of the screen. But, it shows extra space between top of the screen and the search bar </p>
  
  <p><a href="https://i.stack.imgur.com/RMV9L.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RMV9L.png" alt="enter image description here"></a></p>
  
  <p>How do I change statusBar color to default searchBar gray color ? </p>
  
  <p><a href="https://i.stack.imgur.com/AMdEH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AMdEH.png" alt="enter image description here"></a></p>
  
  <p>StatusBar font colour is white, hence when user click search bar, auto above status bar information becomes invisible.So i just need to cover that area by default gray color too, then user can see clearly the status bar.Like this</p>
  
  <p><a href="https://i.stack.imgur.com/M1fw3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/M1fw3.png" alt="enter image description here"></a></p>