which cell button has pressed in tableView in swift 3

前端 未结 4 645
别那么骄傲
别那么骄傲 2021-02-11 07:53

I have read similar questions like this but these codes didn\'t worked for me so please help : I have a table view with some buttons in each cells - This table view is factor fo

4条回答
  •  轮回少年
    2021-02-11 08:54

    When you press factorBillbutton then your Bill method will call.So you can easily differentiate the button inside your Bill method by sender.tag.You already set the tag in cellForRowAt.

提交回复
热议问题