In my my app I have used a custom cell. Within it I have many fields like button, image, textfield, label.
Among those I need to display the indexpath.section
and indexpath.row
values
I tried with
cell.sectionLabel.text = [NSString stringWithFormat:@"%d", indexPath.section];
cell.rowLabel.text = [NSString stringWithFormat:@"%d", indexPath.section];
but the displayed values are some time wrong due to reuse mechanism.
How to resolve this issue?