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

SideMenuController couldn't be insert into UINavigationController? #147

Open
leviluo opened this issue Oct 30, 2023 · 0 comments
Open

SideMenuController couldn't be insert into UINavigationController? #147

leviluo opened this issue Oct 30, 2023 · 0 comments

Comments

@leviluo
Copy link

leviluo commented Oct 30, 2023

when i test example code like this:
let contentViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "ContentNavigation")
let menuViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "MenuNavigation")
let sideMenuController = SideMenuController(contentViewController: contentViewController, menuViewController: menuViewController)
UIApplication.shared.keyWindow?.rootViewController = UINavigationController.init(rootViewController: sideMenuController)

the SideMenuController can't work well,and view will move below 88px

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

1 participant