ios sdk stop multitouch functionality

前端 未结 2 1177
挽巷
挽巷 2021-01-23 10:30

I have multiple buttons, if user touches 2 or more buttons and releases simultaneously, I want to give the action of just one button.

How can I do that. Thanks in advanc

2条回答
  •  野的像风
    2021-01-23 10:42

    Set exclusiveTouch property for all buttons to yes. If that is not working, you might have to disable all other buttons when the user is tapping on a particular button and enable it once that particular action is completed.

提交回复
热议问题