uitableview - How to find out if a UITableViewCell has scrolled away and is invisible -


i have uitableviewcell observes (via kvo) properties. makes sense if cell visible. want remove observer when cell scrolls away, , before prepareforreuse called.

how can this?

your table view delegate can implement

- (void)tableview:(uitableview *)tableview didenddisplayingcell:(uitableviewcell *)cell forrowatindexpath:(nsindexpath *)indexpath 

and in there can call method on cell perform cleanup want.


Comments

Popular posts from this blog

objective c - Deep Linking for iOS Apps which are not installed yet? -

Changing nested dictionary in VBA -

javascript - SignalR sharing connection between 2 apps -