title: How to change height of the searchBar in UISearchController?
body: <p>I'm trying out a design that uses a searchController and a tableView. The searchBar is set to the tableView's table header. My problem is I can't properly set the height of the searchBar.</p>
  
  <p>I tried to directly set the height of the searchBar, which turns to only change the the textField's height rather than the searchBar itself. Additionally, if you look at the gif below, the searchBar in searching status is mis-positioned under the safe area in this way.  </p>
  
  <p><a href="https://i.stack.imgur.com/JBBzd.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JBBzd.gif" alt="enter image description here"></a></p>
  
  <p>So, in summary, how to properly set the height of the searchBar?</p>