To do this, create an identifier for your ionic menu, for example, I gave the main menu. to access it in your part of the controller.
app.html
<ion-menu [content]="appNav" id="main-menu"> .... .... </ion-menu> <ion-nav #appNav [root]="rootPage" swipeBackEnabled="false"></ion-nav>
inside your app.component.ts file place below code inside your constructor
menuCtrl.swipeEnable(false, 'main-menu');
therefore, the above code acts like disabling side-menu scrolling to open functionality through the entire application.
will say that you want to enable swipe to open the side menu on only one page, so add the code below
this.menuCtrl.swipeEnable(true, 'main-menu');
this will allow scrolling to open the side menu functionality.
Note: After using swipeEnable (true, 'main-menu'); This will allow access to the entire application. Inorder for its resolution is used only on one page of the page on which the page was redone, and is disconnected from the previous page and the next page related to the current page.
enable it only on the current page and disable it on the front and back page of the current page
UPDATE:
Another way to achieve this is to enable and disable it on the same page.
ionViewDidEnter(){ this.menuCtrl.swipeEnable(true, 'main-menu'); }
and disable it on the same page using ionviewdidleave
ionViewDidLeave(){ this.menuCtrl.swipeEnable(false, 'main-menu'); }
Thus, the above code will use both methods to enable and disable the side menu