开发者

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:

  1. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜