美文网首页
section header height must not b

section header height must not b

作者: 白雪天枫 | 来源:发表于2018-03-30 16:48 被阅读457次

CGRect frame = self.tableView.tableHeaderView.frame;

    frame.size.height = 1;

    UIView *headerView = [[UIView alloc] initWithFrame:frame];

    [self.tableView setTableHeaderView:headerView];



_tableView.estimatedSectionHeaderHeight = 0;

      _tableView.estimatedSectionFooterHeight = 0;

        _tableView.tableHeaderView.height = 0;

相关文章

网友评论

      本文标题:section header height must not b

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