UIButton with multiple actions: How to prevent other actions from firing

后端 未结 3 1078
一向
一向 2021-01-14 08:15

I\'m trying to find a way to consume a button press, not from the response chain per se, but from other action methods bound to that button. I\'ve looked all over for this

3条回答
  •  时光说笑
    2021-01-14 08:36

    if you know the current state of the app like tutorial etc then probably better to use only one handler1. And add to the body of the method handler1: if (mode == tutorial) {tutorial} else {default}.

提交回复
热议问题