Closed RNUK closed 3 years ago
self.sideMenuViewController!.setContentViewController(UINavigationController(rootViewController: YourViewController), animated: true)
self.sideMenuViewController!.hideMenuViewController()
@RNUK This is how I achieve this functionality
let vc = SomeViewController (UIApplication.shared.delegate as? AppDelegate)?.sideMenuViewController?.hideMenuViewController() (((UIApplication.shared.delegate as? AppDelegate)?.sideMenuViewController?.contentViewController) as? UINavigationController)?.pushViewController(vc, animated: true)
Include the following:
1.3.5
12.1
iPad Pro
Reproduction Steps
Using code:
Expected Result
Left menu hides and new view is pushed onto navigation stack
Actual Result
Left menu closes
Tell us what could be improved: