I'm using this library to create a side menu in iOS, using Swift 4.
But, this only works for smaller screens like the iPhone SE or 5S. On bigger screens like the iPhone 6, this does not work as the side menu does not extend all the way down to the bottom of the screen:
My code to create my side menu in MainViewController
:
let menuLeftNavigationController = storyboard!.instantiateViewController(withIdentifier: "LeftMenuNavigationController") as! UISideMenuNavigationController
SideMenuManager.default.menuWidth = 260
SideMenuManager.default.menuLeftNavigationController = menuLeftNavigationController
SideMenuManager.default.menuFadeStatusBar = false
SideMenuManager.default.menuPresentMode = .menuSlideIn
SideMenuManager.default.menuAnimationFadeStrength = 0.5
SideMenuManager.default.menuShadowOpacity = 0.8
// open with present
self.present(SideMenuManager.default.menuLeftNavigationController!, animated: true, completion: nil)
ViewController with SideMenu: