-(void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tableView
{
<span style="white-space:pre"> </span>[tableView setContentInset:UIEdgeInsetsZero];
<span style="white-space:pre"> </span>[tableView setScrollIndicatorInsets:UIEdgeInsetsZero];
}
转自: http://code4app.com/requirement/52944245cb7e84ea698b5f22