On Apr 28, 2013, at 3:28 PM, Ten Horses | Diederik Meijer
wrote:
> Are you recalculating the size of the label as well? Using the same logic?
Good call, that's the solution.
Thanks,
- Koen.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Are you recalculating the size of the label as well? Using the same logic?
I worked on the very same thing yesterday and that got it to work.
In my case the label's content can be very large, with string length up to
12 characters and I found out that a label's recalculated size doesn't work
I'm having some problems to resize and show all text in a UITableViewCell based
on the contents. It has two labels, the second of which can have a variable
length and I'd like to show it all.
So I added this code:
- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPa