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
leaky views - adds subview to window (in init!), never removes it #52
Comments
Also, I don't think its a good practice to be doing any sort of view hierarchy modification in a constructor. As a short term hack, I did this: and then in my viewWillDisappear... |
Thanks. I will take a look |
How is solution shown below? if let navController = self.navigationController { |
Added an attempt to fix this issue in this commit. Feel free to reopen if there is any further issue. |
If you have the menu on a secondary page that gets opened on nav, every time you visit it it adds a new child subview to window.
"menuWrapper" is private, so you can't get access to it to force cleanup.
The text was updated successfully, but these errors were encountered: