UITableView需要长按才能选择一行 [英] UITableView need long press to select a row
本文介绍了UITableView需要长按才能选择一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都遇到过 UITableView
需要长按以触发 didSelectRowAtIndexPath
方法的问题?
Anyone has ever come into the problem that UITableView
need long press to trigger the didSelectRowAtIndexPath
method?
推荐答案
如果您使用过任何手势识别器,请尝试将其删除并检查是否导致问题?
If you have used any gesture recognizer try to removing it and check if it causing the problem or not ?
其他明智的
不确定但问题可能出在 UITableView
已 delaysContentTouches
已启用开启。将此关闭,以便更快地接触到单元格。
Not sure but The problem might be in the UITableView
has delaysContentTouches
turned ON. Turn this OFF so touches get through to the cells faster.
这篇关于UITableView需要长按才能选择一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文