Using a custom image for a UITableViewCell's accessoryView and having it respond to UITableViewDelegate

后端 未结 10 2040
独厮守ぢ
独厮守ぢ 2020-11-27 09:35

I\'m using a custom drawn UITableViewCell, including the same for the cell\'s accessoryView. My setup for the accessoryView happens by the way of something like

10条回答
  •  清酒与你
    2020-11-27 09:46

    You must use a UIControl to properly get event dispatch (for instance a UIButton) instead of simple UIView/UIImageView.

提交回复
热议问题