Я использую этот код для добавления нижнего колонтитула в TableView. В нем 20 разделов, а в каждом разделе несколько рядов. Есть методы titleForHeaderInSection и sectionForSectionIndexTitle.
CGRect footerRect = CGRectMake(0, 0, 320, 40);
UILabel *tableFooter = [[UILabel alloc] initWithFrame:footerRect];
tableFooter.textColor = [UIColor blueColor];
tableFooter.backgroundColor = [self.theTable backgroundColor];
tableFooter.opaque = YES;
tableFooter.font = [UIFont boldSystemFontOfSize:15];
tableFooter.text = @"test";
self.theTable.tableFooterView = tableFooter;
[tableFooter release];
Что я делаю не так?
спасибо,
RL