iOS segue executed twice

后端 未结 4 854
面向向阳花
面向向阳花 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 01:01

    Maybe you want to wire up your segues with View Controllers instead of UIButtons!

    You should probably have the segues wired with some button like this: enter image description here

    But you should wire them with the view controllers instead: enter image description here

提交回复
热议问题