I am working on an app which requires me to show pictures and some text in TableView. These pictures can be of different heights and so I need to vary the cell height accordingly. so I have overridden this method :
- (CGFloat)tableView:(UITableView *)tableView
heightForRowAtIndexPath:(NSIndexPath *)indexPath
If I have a single static value for cell identifier then the height of the image inside the cell cannot vary dynamically.
So do I need to have different values of Cell Identifier for each cell ? Is there some other way ?
I cannot use some other view than Tableview because I need to show some cells dynamically in between based on user interaction.
Thanks.