Selecting row while UITableView is in editing mode

冷暖自知 提交于 2019-12-31 10:57:50

问题


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?


回答1:


Set the UITableView property allowsSelectionDuringEditing to YES.




回答2:


Set "Editing" property to "Single Selection During Editing"



来源:https://stackoverflow.com/questions/2300831/selecting-row-while-uitableview-is-in-editing-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!