setting an uitableview cell a tag and retriving it
i have tried to set up a uitableview cell to be given a tag however i am not sure how to ge开发者_如何学编程t the cell to become tagged on user input (uibutton) and then the code required to retrieve the multiple items or single item tagged.
Well, without understanding exactly what you plan to do, indexPath
points to the selected cell.
If you try to keep object references you could move all information you need to an instance variable type NSArray
/NSDictionary
from cellForRowAtIndexPath
.
精彩评论