如何标记多个 UITableViewCells 并对标记的单元格执行操作? [英] How to mark multiple UITableViewCells and perform an action on marked cells?

查看:28
本文介绍了如何标记多个 UITableViewCells 并对标记的单元格执行操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做邮件应用程序所做的事情:当我选择编辑时,而不是通常的删除按钮,单选按钮出现在用户可以检查的一侧,然后用户可以单击对标记的单元格执行操作的按钮(任何类型的操作,不只是删除).是否有任何苹果示例代码可以做到这一点?任何人都可以提供一些关于如何做到这一点的代码或文档吗?谢谢.

I would like to do pretty much what the Mail Application does: that when I select Edit, instead of the usual Delete Button, Radio Buttons appear on the side that may be checked by the user, then the user may click on a Button to take an action on the marked cells(any kind of action not just delete). Is there any apple sample code that does this?, can anyone please provide some code or documentation on how to do this?. Thank you.

-奥斯卡

推荐答案

这是一篇关于如何进行邮件式多选的好文章:

Here is a good article about doing a Mail-style multiple selection:

http://cocoawithlove.com/2009/01/multiple-row-selection-and-editing-in.html

这篇关于如何标记多个 UITableViewCells 并对标记的单元格执行操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆