accessoryButtonTappedForRowWithIndexPath: not getting called

后端 未结 8 1916
执念已碎
执念已碎 2020-12-05 13:01

I am creating a Detail disclosure button which is getting populated using an array.... However the accessoryButtonTappedForRowWithIndexPath: function is not being called in

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-05 14:03

    Did you just click on the cell to select it or did you actually click on the accessory button indicator on the cell? It isn't clear from your question.

    accessoryButtonTappedForRowWithIndexPath is applicable when you click on the button icon within the cell and not when you select the cell.

提交回复
热议问题