IOS Swipe back gesture


#1

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, 
    clearHistroy:true,
    transition: {
        name: "fade",
        duration: 250
    }
    };
    topmost.navigate(navigationEntry);

Is there anything I’m doing wrong?

Thanks!


#2

anyone? Not having much luck here.