I have a custom uitableviewcell
.
i want to change its height based on some if condition. How can i be able to do this ?
I tried doing this in cellForRowAtIndexPath
-
if (cell.newsFeedImage.image == NULL)
{
NSLog(@"NULL");
cell.uDisplayImage.frame = CGRectMake(20, 20, 20, 20);
}
The log message appears, but the frame never changes.
Please help.