evnaz/ENSwiftSideMenu

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: unrecognized selector sent to instance

Opened this issue · 1 comments

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