On first loading page when I SwipeLeft on iOS the app gets crashed. To fix this I have created CustomShellRenderer
public class CustomShellRenderer : ShellRenderer
{
protected override IShellSectionRenderer CreateShellSectionRenderer(ShellSection shellSection)
{
return new CustomSectionRenderer(this);
}
}
public class CustomSectionRenderer : ShellSectionRenderer
{
public CustomSectionRenderer(IShellContext shellContext) : base(shellContext)
{
}
public override void ViewDidLoad()
{
base.ViewDidLoad();
InteractivePopGestureRecognizer.Enabled = false;
}
}
This disables the Swipe navigation for entire app in iOS. I want to do this just for Specific page. How to do it?