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;
}
精彩评论