I need release some resources when UITableViewCell became out of visible rect. prepareForReuse message is sent when UITableViewCell needs to be reused, but I need another… I have UITableViewCell subclass, and can override some messages…
This is exactly what I need: tableView:didEndDisplayingCell:forRowAtIndexPath:
But this is iOS6+ only solution. I need iOS4.3+ solution.
When cell becomes hidden it is removed from the
UITableView. So you can override in yourUITableViewCellderived class methodwillMoveToSuperview: