sarveshthedeveloper
sarveshthedeveloper

Reputation: 11

ios sdk stop multitouch functionality

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 advance for your help..

Upvotes: 1

Views: 1313

Answers (2)

David Ganster
David Ganster

Reputation: 1993

Try setting your view's multipleTouchEnabled property to NO.

Upvotes: 0

iDev
iDev

Reputation: 23278

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.

Upvotes: 2

Related Questions