UITableView Selection Addition Problem
Having this problem that needs to be adressed unfortunately....
开发者_开发知识库I am adding a custom UIButton to my UITableView Cell when it is selected however as I scroll down into the TableView I find that multiple cells are getting the buttons attached:
Here is my code:
http://pastie.org/1309795
What am I doing wrong?!
You're being bitten by cell reuse. You need to learn how to sanitize your cells when you get a cell that has been recycled.
精彩评论