- (void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tableView
{
tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
[tableView setContentInset:UIEdgeInsetsZero];
[tableView setScrollIndicatorInsets:UIEdgeInsetsZero];
}
解決UISearchDisplayController 底部不鋪滿,留白的問題