开发者

setting an uitableview cell a tag and retriving it

开发者 https://www.devze.com 2023-01-11 21:15 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消