美文网首页
tableView的UITableViewHeaderFoote

tableView的UITableViewHeaderFoote

作者: Hww_123 | 来源:发表于2020-04-02 17:26 被阅读0次

添加的代码如下:

'''

- (void)tableView:(UITableView*)tableViewwillDisplayHeaderView:(UIView*)viewforSection:(NSInteger)section {

    if ([view isKindOfClass:[UITableViewHeaderFooterView class]]) {

        view.tintColor= [UIColorclearColor];

        ((UITableViewHeaderFooterView *)view).backgroundView.backgroundColor = [UIColor clearColor];

    }

}

'''

相关文章

网友评论

      本文标题:tableView的UITableViewHeaderFoote

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