objective c - multi-fingers UIPanGestureRecognizer behavor with CGRectContainsPoint -


i have main view divided 4 equally sized sub-views. used uipangesturerecognizer 3 fingers trigger event based on 1 of 4 views using cgrectcontainspoint method.

my goal 3 fingers have in same view when motion started/ended trigger appropriated event handling view.

the problem if start 3 fingers not in same view (2 fingers in view1 , 1 finger in view2 etc.) event handling got triggered 1 2 fingers @ end since using uigesturerecognizerstateended method etc.

is there technique make sure event handling triggered if , if 3 fingers started @ same view (cgrect) , ended same view (cgrect)?

btw: using same procedure other uixxxgesturerecognizer , worked designed.

thank you.

i compared location uigesturerecognizerstatebegan state , location uigesturerecognizerstateended make sure within specific view.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -