Pre loader

Custom SCIZoomPanModifer

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hello,
I’m trying to convert Android (Java) code to iOS (Swift), and I need to create a custom SCIZoomPanModifier. In the android code, onFling, onDown, and onDown were overridden, but I can’t seem to do that in iOS. How can I override onFling, onDown, and onUp in iOS to mimic the android code?

Thanks

Version
3.1.0.5175
  • You must to post comments
0
0

Hello Yatharth

You can import protected API via the code below:

import SciChart.Protected.SCIChartModifierBase

and use it’s “internalHandleGesture:” method, in which you can handle different UIGestureRecognizer states.

For more information on how to create custom modifier – please see Custom Modifiers – the SCIGestureModifierBase API article in our documentation.

Hope that helps.

Best Regards,
Nazar R.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies