美文网首页
关于tableView的Grouped状态

关于tableView的Grouped状态

作者: _哈哈哈哈哈哈 | 来源:发表于2019-05-22 10:49 被阅读0次

 //去除Grouped状态:section最上面和下面的分割线

    self.shiftTableView.separatorStyle = UITableViewCellSelectionStyleNone;

    //去除滚动条    self.shiftTableView.showsVerticalScrollIndicator = NO;

两个section之间有一段灰色距离

-(CGFloat)tableView:(UITableView*)tableView heightForFooterInSection:(NSInteger)section

{

    return0.01;

}

相关文章

网友评论

      本文标题:关于tableView的Grouped状态

      本文链接:https://www.haomeiwen.com/subject/rldyzqtx.html