Problems with a footer in a grouped uitableview
I have a grouped UITableView with some sections (with an header title). I want to add a footer to the first section, so I use
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section {
switch (section) {
ca开发者_高级运维se 0:
return @"some lines of text...........bla bla bla bla bla etc etc");
break;
default:
return nil;
break;
}
}
I have one problem:
- the distance between the footer end and the title of the next section is quite big. I don't know why.
Any suggestions?
You can change the footer height programmatically or using interface builder.
精彩评论