section header height must not b

2018-03-30  本文已影响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;

上一篇 下一篇

猜你喜欢

热点阅读