0
Warum heightForHeaderInSection und heightForFooterInSection funktioniert nicht in iOS 4.3 und es funktioniert in 5.0?Warum heightForHeaderInSection in iOS 4.3 nicht funktioniert?
-(CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section
{
if (section == 0) {
return 10.0;
}
return (tableView.sectionHeaderHeight - 20);
}
-(CGFloat)tableView:(UITableView*)tableView heightForFooterInSection:(NSInteger)section
{
if (section == ([self.optionsArray count] - 1)) {
return 15.0;
}
return (tableView.sectionFooterHeight - 20);
}
+1 Perfekt richtig und auf den Punkt. – Till