You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrading the ios sdk to 18 now unable to use the SideMenu #706
Eventhough i have already setup the side menu it says that it could not instantiate LeftMenuNavigationController from storyboard
fileprivate func setupSideMenu() {
// Try to instantiate the SideMenu controller safely
guard let menu = storyboard!.instantiateViewController(withIdentifier: "LeftMenuNavigationController") as? SideMenuNavigationController else {
print("❌ Could not instantiate LeftMenuNavigationController from storyboard")
return
}
// Configure presentation
menu.presentationStyle = .viewSlideOutMenuIn // replaces .menuPresentMode
menu.statusBarEndAlpha = 1 // replaces .menuFadeStatusBar
menu.leftSide = true
// Assign to SideMenuManager
SideMenuManager.default.leftMenuNavigationController = menu
// Add gestures using new API
if let navigationBar = self.navigationController?.navigationBar {
SideMenuManager.default.addPanGestureToPresent(toView: navigationBar)
}
SideMenuManager.default.addScreenEdgePanGesturesToPresent(toView: self.view)
Activity