iOS11下下拉控件顶部和底部空间多出来一截
jzhang0480 opened this issue · comments
jzhang0480 commented
jzhang0480 commented
找到原因了,实现tableview的两个代理方法即可
-
(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
return [UIView new];
} -
(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
return [UIView new];
}