title: Display search bar view correctly in UISearchDisplayController
body: <p>I use a UISearchDisplayController and its SearchBar like the picture :</p>
  
  <p><a href="https://i.stack.imgur.com/Y98KU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y98KU.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see, the view which need to be over the search bar is not correctly placed because of the view before the search bar that need to be here, but I don't know how can I move it.</p>
  
  <p>I have already this code :</p>
  
  <pre><code>@implementation MySearchDisplayController
  
  - (void)setActive:(BOOL)visible animated:(BOOL)animated
  {
      [super setActive: visible animated: NO];
  
      [self.searchContentsController.navigationController setNavigationBarHidden: NO animated: NO];
      [self.searchResultsTableView setFrame:CGRectMake(0, 32, 320, 476)];
  
      [self.searchContentsController.view setBackgroundColor:[UIColor whiteColor]];
      [self.searchBar setBarTintColor:[UIColor whiteColor]];
  }
  
  @end
  </code></pre>
  
  <p>How can I fix it ?</p>
  
  <p>I specify that if I delete the blue view behind there is no problem so it's the cause of the problem, but I need to put the view at this place.</p>