UISearchDisplayController 底部留白

- (void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tableView

{

    tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];

    

    [tableView setContentInset:UIEdgeInsetsZero];

    [tableView setScrollIndicatorInsets:UIEdgeInsetsZero];

}




解決UISearchDisplayController 底部不鋪滿,留白的問題

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章