Present destViewController modally
Hi! Congratulations on an excellent library.
I would like to know if there's a way to change the default push behaviour of the destination view controllers and present them modally, just like the Uber menu does.
Thanks in advance
Hi, You can present view modally by selecting table view's row, but in this case the side menu will not be accessible from modal view controller.
Thanks! I used:
self.view.window?.rootViewController?.presentViewController(destViewController, animated: true, completion: nil)
sideMenuController()?.sideMenu?.toggleMenu()
...and everything worked fine
@zentraedi i try to use your sugestion but when i put the view controller in the destViewController i get an error cannot convert value of type "myViewController " to expected argument type "UIViewController". also myviewController is a subclass of UIViewController