I love the swipe pack thats inherited from embedding your views in a UINavigationController. Unfortunately i cannot seem to find a way to hide the Naviga
Implement the IUIGestureRecognizerDelegate Interface in your ViewController's Class definition:
public partial class myViewController : UIViewController, IUIGestureRecognizerDelegate
In your ViewController add the following method:
[Export("gestureRecognizerShouldBegin:")]
public bool ShouldBegin(UIGestureRecognizer recognizer) {
if (recognizer is UIScreenEdgePanGestureRecognizer &&
NavigationController.ViewControllers.Length == 1) {
return false;
}
return true;
}
In your ViewController's ViewDidLoad() add the following line :
NavigationController.InteractivePopGestureRecognizer.Delegate = this;