ios - Handling multiple gestures simultaneously -


i have 2 subviews view1 , view2. have added longpress , pan gesture parentview. when longpress on view1, present draggableview popup animation below fingure , continue dragging dragview view2. in process pangesture selector not called longpress gesture selector called. after remove fingure dragview , start dragging again pangesture selector called.

what need is, once dragview created, disable(not permanently until pan gesture state ended called) longpress gesture , pan gesture selector should called

you have delegate method called:

- (bool)gesturerecognizer:(uigesturerecognizer *)gesturerecognizer shouldrecognizesimultaneouslywithgesturerecognizer:(uigesturerecognizer *)othergesturerecognizer 

take @ it, need return yes.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -