I am using
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section
{
if ( section == 0 )
{
return NSLocalizedString(@"Section_0_text", @"");
}
if ( section == 1 )
{
return NSLocalizedString(@"Section_1_text","");
}
return nil;
}
Can I modify return string text font, color and other few properties?
Take a look at the UITableViewDelegate
class, specifically the methods tableView:viewForFooterInSection:
and tableView:heightForFooterInSection:. You can return whatever kind of view you'd like, including--but not limited to--a UILabel
with whatever text properties you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With