jsfu / JSDropDownMenu

类似美团的下拉菜单

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS11下下拉控件顶部和底部空间多出来一截

jzhang0480 opened this issue · comments

找到原因了,实现tableview的两个代理方法即可

  • (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
    return [UIView new];
    }

  • (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
    return [UIView new];
    }