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

Memory Issue #70

Closed
PrashantKT opened this issue Oct 10, 2019 · 1 comment
Closed

Memory Issue #70

PrashantKT opened this issue Oct 10, 2019 · 1 comment

Comments

@PrashantKT
Copy link

I have setup it like

              let panel = FAPanelController()
                panel.configs.panFromEdge = true
                panel.leftPanelPosition = .front
                
                let leftVC = LeftMenuVC.viewController()
                let centerVC = UINavigationController(rootViewController: DashboardVC.viewController())
                
                _ = panel.center(centerVC).left(leftVC)
                AppDelegate.sharedDelegate.window?.rootViewController = panel
                AppDelegate.sharedDelegate.window?.makeKeyAndVisible()

Now User press logout button Then I need to change root view controller again but it doesn't dealloc the FAPanel ?

Please help

@PrashantKT
Copy link
Author

After setting root view controller to nil issue solved :)

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