-
Notifications
You must be signed in to change notification settings - Fork 943
11.2 以后 使用了textField的地方就报泄漏 #89
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
Comments
https://www.jianshu.com/p/5add8d20f8a1?from=timeline&isappinstalled=0 |
这样虽然能解决,但是,给业务代码带来了风险,得不偿失。 |
push过去有三个文本框后,如果不点击文本框,,会释放3次。一切ok |
再次push时,又会提示大家都释放了。 |
现在有更好的解决方案吗?这个也看过了issues,最后一个回复里,可以看到有一个比较好的方案,但是要引入两个库,感觉有点重 |
其实控制器还是会被dealloc,通过Debug Memory Graph查看该控制器是释放的, 但是alert 会弹出,提示retain cycle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
11.2 以后 使用了textField的地方就报泄漏 ,这什么情况,有一样情况的嘛
The text was updated successfully, but these errors were encountered: