title: IOS 7 table view content size issue
body: <p>I have a an app in IOS 6. Now i am try to make it compatible with IOS 7.</p>
  
  <p>I have a search bar controller. All works good in IOS 6. I have used UISearch Display Controller.</p>
  
  <p>But in IOS 7 content size of table view not set correctly.</p>
  
  <p>While i dont search any thing :</p>
  
  <p><img src="https://i.stack.imgur.com/m8t4q.png" alt="enter image description here"></p>
  
  <p>But if i search any anything  than click on list view and scroll i have this out put :</p>
  
  <p>![enter image description here][2]</p>
  
  <p>You can see the white space below.</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView1 sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index {
  if (title == UITableViewIndexSearch) {
              [tblData scrollRectToVisible:self.searchDisplayController.searchBar.frame animated:NO];
              return -1;
          }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/fRjJr.png" alt="enter image description here"></p>
  
  <p>Thanks for Help</p>