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

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -