I have a UITableViewCell with multiple subviews. One of the subviews is a UILabel and the cell\'s height is dynamically sized based on the amount of te
UITableViewCell
UILabel
I have had same problem and doing things in - (void)drawRect:(CGRect)rect does the work but it could be costly in terms of performance.
- (void)drawRect:(CGRect)rect
You can call your clipping or shadow methods in perform selector
[self performSelector:@selector() withObject:nil afterDelay:0.0000001 ];//a very low delay