Suppose there are 20 items to display in UITableView
. At a time 5 UITableViewCell
are visible. I am adding observer in - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
method. Now if user scrolls the table then suppose first row is not visible. So my quesion is how can I remove the observer? Any method will be called when UITableViewCell
is no more visible in UITableView
?
Any help will be appreciated..