user3374675
user3374675

Reputation:

error after present controller

I used from https://github.com/jonkykong/SideMenu programmatically on my Controller with swift 3.2

    let menuSlide =  DrawerViewController();

    SideMenuManager.menuWidth = 200
    SideMenuManager.menuRightNavigationController = menuSlide
    SideMenuManager.menuFadeStatusBar = false
    SideMenuManager.menuPresentMode = .menuSlideIn
    SideMenuManager.menuAnimationFadeStrength = 0.5
    SideMenuManager.menuAnimationTransformScaleFactor = 1


    SideMenuManager.menuAddScreenEdgePanGesturesToPresent(toView:  self.view)

and worked! but first present controller

after present again with

   let main = mainController()
    self.present(main, animated: true, completion: nil)

from other controller The following error occurs

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb)

thanks for help me

Upvotes: 0

Views: 70

Answers (0)

Related Questions