Greg
Greg

Reputation: 34798

does a UITableViewCell contentView frame size increase automatically after adding subviews

does a UITableViewCell contentView frame size increase automatically after adding subviews?

Suppose that you:

Upvotes: 2

Views: 3722

Answers (1)

Marko Hlebar
Marko Hlebar

Reputation: 1973

I don't think so... That doesn't seem logical really. You set the frame height for your cells via UITableView property rowHeight or by implementing UITableViewDelegate method

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

Upvotes: 5

Related Questions