UITableView need long press to select a row

前端 未结 4 1455
既然无缘
既然无缘 2020-12-20 16:24

Anyone has ever come into the problem that UITableView need long press to trigger the didSelectRowAtIndexPath method?

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 16:43

    If you have used any gesture recognizer try to removing it and check if it causing the problem or not ?

    Other wise

    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.

提交回复
热议问题