Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS crash when set sidemenu as rootviewcontroller #112

Open
hafiz013 opened this issue Apr 30, 2020 · 1 comment
Open

IOS crash when set sidemenu as rootviewcontroller #112

hafiz013 opened this issue Apr 30, 2020 · 1 comment

Comments

@hafiz013
Copy link

hafiz013 commented Apr 30, 2020

when i set sidemenu as rootview controller it is crash. Below here my sample code:

let mainScreen = storyboard.instantiateViewController(withIdentifier: "SideMenu") as! SideMenuController
                let homeNavigationController = UINavigationController(rootViewController: mainScreen)
                self.window?.rootViewController = homeNavigationController
                self.window?.makeKeyAndVisible()`

log cat errror:

menuViewController.beginAppearanceTransition(true, animated: true). <-- Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value

Why?

@kukushi
Copy link
Owner

kukushi commented May 25, 2020

@hafiz013 Can you provide functional code for reproducing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants