I made a two menus in my swift app with mmdrawer. They work perfectly, however i would like to disable the left menu on certain pages. I found the following code to do this
appDelegate.centerContainer!.leftDrawerViewController = nil
It works but it lock all the menus on all other viewcontrollers while i would like it only to lock the let menu on that page and no other. I tried to figure out how reinitiate mmdrawer after that but it doesn't work.
Who can help me with the proper code to get this working.
thanks
After some testing and digging i found a solution for my problem that others might help when they face the same issue.
I used the following piece of code to reactivate my left menu after i disabled it.