title: Black are on the bottom of UIViewController with an active uisearchbar after dismissing from other uiviewcontroller
body: <p>I have a UIviewcontroller with a table view SearchResultsController, and an active UISearchbar on it, here is a screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/6fjBZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6fjBZ.png" alt="enter image description here"></a></p>
  
  <p>After I select a item from table view it opens a detail view controller like this:
  <a href="https://i.stack.imgur.com/RhkyU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RhkyU.png" alt="enter image description here"></a></p>
  
  <p>But when I tap to return back, appears a black area on the bottom of the viewcontroller till the transition is finished, then it disappears, screenshot:
  <a href="https://i.stack.imgur.com/yIvFq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yIvFq.png" alt="enter image description here"></a></p>
  
  <p>Here is the code how I set up the uisearchbar and uisearchcontroller:</p>
  
  <pre><code>UINavigationController *searchResultsController = [[self storyboard] instantiateViewControllerWithIdentifier:[ADC_SEARCH_RESULTS_CONTROLLER_IDENT copy]];
  self.searchController = [[UISearchController alloc] initWithSearchResultsController:searchResultsController];
  self.searchController.searchResultsUpdater = self;
  self.searchController.searchBar.frame = CGRectMake(0, 0, self.view.frame.size.width, 44.0);
  [self.view insertSubview:self.searchController.searchBar belowSubview:self.navigationController.navigationBar];
  self.definesPresentationContext = YES;
  if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
      self.edgesForExtendedLayout = UIRectEdgeNone;
  SuggestionResultsTVC *vc = (SuggestionResultsTVC *)searchResultsController.topViewController;
  vc.tableView.contentInset = UIEdgeInsetsMake(0.0f, 0.f, 0.f, 0.f);
  self.searchController.searchBar.clipsToBounds = YES;
  </code></pre>