开发者

Set row height of a TTTableView

I know that question has been asked many times (for example : How to resize TTTableSubtitleItemCell), but I never found a simple answer to it : is there simple way to set the row height of a TTTableView ? I really need to do this a开发者_开发知识库nd I can't find any way to achieve it.

Thanks in advance


Try this one:

- (void)loadView {
[super loadView];
self.tableView.rowHeight = 80;}

Hope this help.


or override this method:

+(CGFloat) tableView:(UITableView*) tableView rowHeightForObject:(id) object
{
    return 106;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜