iOS segue executed twice

后端 未结 4 860
面向向阳花
面向向阳花 2021-02-06 00:18

I have a table view with different types of table view cells in it. In one of the cells, there are two buttons, which load a view controller when pressed. I am using the followi

4条回答
  •  攒了一身酷
    2021-02-06 00:47

    I always get this issue when I have my buttons directly wired up to the destination view controller. You need to make sure that you first delete the old segue you made, then click on the present view controller (where you are coming from) and CTRL + click to destination controller.

    This should fix it :)

提交回复
热议问题