I followed the advice in the link below to add images to cells in a table view.
Adding Image to Table Cell (iOS)
Is there a way to force refresh a cell i.e. add/remove images or indicators?
You can call [self.tableview reloadData];
on the tableview and refresh the entire table.
Otherwise you can do this to refresh a single cell.
[self.tableView beginUpdates];
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPathOfYourCell] withRowAnimation:UITableViewRowAnimationNone];
[self.tableView endUpdates];
Since you already have indexPath of the cell, sometimes this may just do the job
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
[cell reloadInputViews];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With