不知道为什么7.0以后的系统用UISearchDisplayController都会出现下图中的情况,滚动条到中间就不往下了,而且取消再检索进来,滚动条直接不显示了
http://stackoverflow.com/questions/19069503/uisearchdisplaycontrollers-searchresultstableviews-contentsize-is-incorrect-b
或是直接写在UISearchDisplayController回调里
-(void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tableView
{
[tableView setContentInset:UIEdgeInsetsZero];
[tableView setScrollIndicatorInsets:UIEdgeInsetsZero];
}