I have the following code:
TTTableItem *item =
[TTTableSubtitleItem
itemWithText:group.name
subtitle:[NSString stringWithFormat:@"%@ members %@ topics ", group.members_count , group.topics_count]
imageURL:imageURL
URL:@""
];
Is there a way to resize the image set in the imageURL?
You will have to create a custom subclass of TTTableSubtitleItemCell and adjust the frame of the image view.
create a subclass TTTableSubtitleItemCell class, named TableCustomSubtitleItem , and add a new layout subviews function in your class:
In your data source, you need to use your new TTTableItemCell instead of the default TTTableSubtitleItemCell: