SlideMenuControllerSwift icon indicating copy to clipboard operation
SlideMenuControllerSwift copied to clipboard

Menu slides back in on device rotation

Open AmulJ opened this issue 9 years ago • 2 comments

Hi, If Slider menu is open and we rotate device (from portrait to landscape or vice-versa), the menu automatically slides in. Is there a way that we can make sure that Slider does not automatically moves in when device is rotated?

AmulJ avatar Mar 03 '16 09:03 AmulJ

Got it to work Comment out the coordinator.animateAlongsideTransition block in the viewWillTransitionToSize function of SliderMenuController.swift. Also make sure that leftContainerView.hidden is set to false.

AmulJadhav avatar Mar 04 '16 11:03 AmulJadhav

Not perfectly work @AmulJadhav

maulik6994 avatar Jun 11 '18 09:06 maulik6994