title: Hiding table view of search display controller
body: <p>I want to make search display controller to work in this way:</p>
  
  <p>When user press on search field it goes up to top and keyboard shows up. Normally this is happening but when user types something then shows up table view.</p>
  
  <p>I don't want to do anything while user typing and when he press <code>Search</code> then  i do this:</p>
  
  <pre><code> [_searchController setActive:NO animated:YES];
  </code></pre>
  
  <p>and load data in my custom create table view.</p>
  
  <p>How could i do this kind of functionality.</p>
  
  <p>EDIT.
  I found some of solution:</p>
  
  <pre><code>- (BOOL)searchDisplayController:(UISearchDisplayController *)controller shouldReloadTableForSearchString:(NSString *)searchString
  {
      savedSearchTerm = searchString;
  
      [controller.searchResultsTableView setBackgroundColor:[UIColor colorWithWhite:0.0 alpha:0.8]];
      [controller.searchResultsTableView setRowHeight:800];
      [controller.searchResultsTableView setScrollEnabled:NO];
      return NO;
  }
  </code></pre>
  
  <p>Maybe someone have a better way? </p>