IOS Swipe back gesture


I’m having trouble disabling the default IOS swipeback gesture which is causing my app to crash.

I’m using vanilla NS. I’ve tried placing the below on every page:

‘frameModule.topmost().ios.controller.interactivePopGestureRecognizer.enabled = false;’

I’ve also tried setting clearhistory to true but to no avail.

 var topmost = frameModule.topmost();
    var navigationEntry = {
    moduleName: "views/intro_text/intro_text",
    animated: true, 
    transition: {
        name: "fade",
        duration: 250

Is there anything I’m doing wrong?



anyone? Not having much luck here.