I was using SideMenu library from this github repo. https://github.com/jonkykong/SideMenu And after going high and low, I can't pinned down how to disable swipe on a navigation bar of viewcontroller.
I will use example included in library as example. At MainViewController.swift
file, SideMenu is initiated and as far as I know, there are only 2 methods/functions related to gesture. And none of them are related to disable reacting to gesture. And I added this line at setUp method in the file.
SideMenuManager.default.menuPushStyle = .preserveAndHideBackButton
I have tried using childrenController
in these methods but as soon as I did that, I can't use swipe/gesture on the directed view after touching on items of left sidemenu/drawer.
Is there anyway I could disable gesture on navigation bar using this library? And kindly let me know if I need to edit question, as this is my first question in stackoverflow.