关于tableView的Grouped状态

2019-05-22  本文已影响0人  _哈哈哈哈哈哈

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

    self.shiftTableView.separatorStyle = UITableViewCellSelectionStyleNone;

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

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

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

{

    return0.01;

}

上一篇 下一篇

猜你喜欢

热点阅读