Hi all,
I'm setting up the accessoryView of some SCTableViewCells in
- (void)tableViewModel:(SCTableViewModel *) tableViewModel willDisplayCell:(SCTableViewCell *) cell forRowAtIndexPath:(NSIndexPath *) indexPath
My accessoryView is a UIButton (with an image) which I add a target to:
[watchListButton addTarget:self action:@selector(toggleWatchListStatus) forControlEvents:UIControlEventTouchUpInside];
In
toggleWatchListStatus I'm switching the UIButton's image.
Unfortunately the updated image doesn't show up. I need to scroll the according cell off the screen (so that it's not visible) and scroll back to make the button with the new image visible.
How do I update the affected SCTableViewCell so reflects the changes on UIButton accessoryView?
Thanks,
Patrick