This is what i currently have to display my text, but i can’t seem to be able to change the font color of titleForHeaderInSection.
- (NSString *)tableView:(UITableView *)tableView
titleForHeaderInSection:(NSInteger)section
{
if(section == 0)
return @"Information";
if(section == 1)
return @"Categorize Information";
return nil;
}
How would i be able to change the font color so it could be red for example?
Edit:
I forgot to mention, i’m not using Interface Builder do do this.
You need to create a custom UIView. The best way I have found to do this is in Interface Builder.
.h
.m