How to execute button press action before prepareForSegue in iOS?

前端 未结 1 1565
感动是毒
感动是毒 2021-01-24 18:01

I am creating an iOS application in which I want to perform an assignment action in button press before running the method prepareForSegue.

I created all controls using

相关标签:
1条回答
  • 2021-01-24 19:06

    I figured out the problem, when give then code in this way, the execution is just alphabetical order, all the other methods were getting executed before prepareForSegue because the methods come above in alphabetical order

    When I renamed the quiz and settings methods as a_quiz and a_settings, it worked

    0 讨论(0)
提交回复
热议问题