ENSwiftSideMenu
ENSwiftSideMenu copied to clipboard
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: unrecognized selector sent to instance
After I converted my code base to swift 3 my app is crashing due to the unrecognized selector
when I click menu icon it throws an exception
@IBAction func openMunu(sender: AnyObject) { toggleSideMenuView() }
How can I overcome this issue?
solved this by putting on viewWillAppear of the navigationcontroller subclassing ENSideMenuNavigationController self.sideMenu?.allowLeftSwipe = false self.sideMenu?.allowRightSwipe = false self.sideMenu?.allowPanGesture = false