Hide the back button:
NavigationItem.HidesBackButton = true;
And disable the gesture:
if (NavigationController != null) { NavigationController.InteractivePopGestureRecognizer.Enabled = false; }
To replace the back button you can instead do this:
NavigationItem.LeftBarButtonItem = myBarButtonItem; NavigationItem.LeftItemsSupplementBackButton = false; // actually the default
Answers
Hide the back button:
And disable the gesture:
To replace the back button you can instead do this:
Thanks, works great!