0

I'm using jonkykong's SideMenu and I want to push a view controller on top of my menu without dismissing the menu. Setting menuDismissOnPush to false keeps the menu from dismissing, but the pushed view controller is underneath the menu. How can I force it on top of the menu?

/**
Automatically dismisses the menu when another view is pushed from it.

 Note: to prevent the menu from dismissing when presenting, set modalPresentationStyle = .overFullScreen
 of the view controller being presented in storyboard or during its initalization.
 */
open var menuDismissOnPush = false
Shivam Tripathi
  • 1,405
  • 3
  • 19
  • 37
Adam Zarn
  • 1,868
  • 1
  • 16
  • 42

1 Answers1

0

Please use following code
SideMenuManager.default.menuPushStyle = .subMenu

Hemant Singh Rathore
  • 2,153
  • 1
  • 24
  • 38