Xamarin.Forms.Forms.ViewInitialized += (sender, e) =>
{
SFChart chart = (e.NativeView as SFChart);
if (chart != null)
{
foreach (var gesture in chart.GestureRecognizers)
{
if (gesture is UIPanGestureRecognizer && gesture.Delegate == null)
{
gesture.Delegate = new CustomGeatureDelegate(e.View as SfChart);
}
}
}
}; |
Hi Atif,
We have added iOS project and tested in your sample. The sample does not require any changes for iOS and it is working fine.
Please let us know for any queries.
Regards,
Saravana Pandian M.