titleForHeaderInSection
можно вернуть только строку, вам нужно реализовать
NSArray*arr ;
NSArray*colors;
In viewDidLoad
arr = [@"Border Size",@"Border Color",@"Badge Tint Alpha"];
colors = [[UIColor redColor],[UIColor blueColor],[UIColor greenColor]];
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
UILabel*lbl = [UILabel new];
lbl.text = arr[section];
lbl.backgroundColor = colors[section];
return lbl;
}