[iOS] UITableView的footer view的背景顏色

讓人意外的是,欲更改Table view的footer view的背景顏色,不是backgroundColor,而是tintColor....

- (void)tableView:(UITableView *)tableView willDisplayFooterView:(UIView *)view forSection:(NSInteger)section
{
    view.tintColor = [UIColor redColor];
}

留言