美文网首页
UITableView 经验谈 tableHeaderView

UITableView 经验谈 tableHeaderView

作者: 超_iOS | 来源:发表于2016-12-23 10:36 被阅读38次

_tableV.contentInset = UIEdgeInsetsMake(15, 0, 0, 0);
        _tableV.scrollIndicatorInsets = UIEdgeInsetsMake(15, 0, 0, 0);
        _tableV.tableHeaderView = self.headerView;
tableView dequeueReusableCellWithIdentifier:cellSet forIndexPath:indexPath
cell.textLabel 几乎会占据整个cell,颜色不透明

 [tableView dequeueReusableCellWithIdentifier:cellSet ]
cell.textLabel (文字宽度自适应?背景色透明)

相关文章

网友评论

      本文标题: UITableView 经验谈 tableHeaderView

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