objective c - IOS how different put down two fingers at one time and put down two fingers one by one -


on ios difference between putting down 2 fingers @ 1 time , putting down 2 fingers 1 one?

can use uigesturerecognizer detect different touch-events? , how tell them apart?

there no difference purely because there no such thing putting 2 fingers down @ once.

no matter how closely put down 2 fingers there time difference between first , second touch.

in gesture recognizer have program , work out suitable time difference make 2 separate touches single "two-touch" gesture.

for instance, might 0.5 seconds suitable maximum between touches. if 2 touches land within 0.5 seconds same gesture if more 0.5 seconds apart not.


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -