How get UITableView IndexPath from UITableView iphone?

后端 未结 4 941
粉色の甜心
粉色の甜心 2021-01-22 22:20

In my iPhone app I have one messaging screen. I have added UITapGestureRecognizer on the UIViewController and also I have a UITableview on

4条回答
  •  被撕碎了的回忆
    2021-01-22 23:23

    An easier way to do this is to have two views: one containing the view that you want the tap gesture to be on, and one containing the tableview. You can attach the UITapGestureRecognizer to the view you want it to work on, and then it won't block your UITableView.

提交回复
热议问题