在UITableView处于编辑模式时选择行 [英] Selecting row while UITableView is in editing mode

查看:134
本文介绍了在UITableView处于编辑模式时选择行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个UITableView,当我把它置于编辑模式时,我希望选择性行可选,但是,它们不是。有没有办法可以强制它们被选中?

I have a UITableView where when I put it in editing mode, I want selective rows to be selectable, however, they are not. Is there a way I can force them to be selectable?

推荐答案

设置 UITableView property allowSelectionDuringEditing to

Set the UITableView property allowsSelectionDuringEditing to YES.

这篇关于在UITableView处于编辑模式时选择行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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