Page 1 of 1

iOS - How to determine pan direction?

Posted: Tue Sep 11, 2012 2:08 am
by 17263460
Apparently ClickBackground event allows to get UIPanGestureRecognizer event. Unfortunately this event is generated only once with state = Begin. No more pan events are generated. How to determine pan direction?

Also, generally, how to attach a gesture recognizer to a TChart? I tried to attach UISwipeGestureRecognizer but no events were generated. I suspect that existing UIPanGestureRecognizer prevents other recognizers from getting gestures.

Re: iOS - How to determine pan direction?

Posted: Wed Sep 12, 2012 10:47 am
by 10050769
Hello alecd4,

If you want achieve do pan using MonoTouch I recommend you add a gesture to view chart as do in next link:
http://www.teechart.net/support/viewtop ... =4&t=13439.
When you added a gesture you must only add the gesture necessaries to achieve do and get scroll directions. If you have any problems, please let me know.

I hope will helps.

Thanks,