I have a table with custom table cells, is there any way of knowing when they have been viewed, i.e. their contents have been completely shown to the user?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UITableViewDelegate defines the method
tableView:willDisplayCell:forRowAtIndexPath:so you just need to override that method.From the Apple docs at http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableViewDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/UITableViewDelegate,
“Tells the delegate the table view is about to draw a cell for a particular row.”