tableView的UITableViewHeaderFoote

2020-04-02  本文已影响0人  Hww_123

添加的代码如下:

'''

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

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

        view.tintColor= [UIColorclearColor];

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

    }

}

'''

上一篇 下一篇

猜你喜欢

热点阅读