开发者

How to perform an action when UITableViewCell is in highlighted state?

开发者 https://www.devze.com 2022-12-27 05:51 出处:网络
Is it possible to perform an action when a UITableViewCell is highlighted? For example I have a UITableViewCell with clickable labels and buttons. I want to display a popover when the cell is highligh

Is it possible to perform an action when a UITableViewCell is highlighted? For example I have a UITableViewCell with clickable labels and buttons. I want to display a popover when the cell is highlighted/touched anywhere, so that the popover is shown without any interference with the labels & butt开发者_运维问答ons.


Use the tableView's delegate method -tableView:didSelectRowAtIndexPath:.

0

精彩评论

暂无评论...
验证码 换一张
取 消