Touch Delegate - Cancelling Gesture Immediately After Starting

Discussion created by ismael_zavala2002 on May 25, 2017
Latest reply on Jun 7, 2017 by MDostal-esristaff

I want to override the touch methods (touchesBegan, touchesEnded) because AGSGeoViewTouchDelegate doesn't provide methods to pick up when touches end in general. Only long press and taps. 


In the previous version (10.2) I was able to override the touchesEnded without an issue, but after upgrading to version 100, as I'm dragging the map, immediately after I start dragging, the method touchesCancelled gets called before I lift my finger. 


It is an issue because I am creating a custom animation when the user starts changing the view of the map and another animation when the user stops moving the map. 


Any assistance on how I could go around this issue would be greatly appreciated.