heliang

Results 7 comments of heliang

我在iOS9.0真机上调试,也会提示这个Possibly Memory Leak. In case that UIAlertController should not be dealloced, override -willDealloc in UIAlertController by returning NO. View-ViewController stack: ( UIAlertController )

我知道原因了,是我自己的问题。我在使用的时候:action闭包里面调用了alertVC.dismissViewControllerAnimated(true, completion: nil) 导致alertVC泄漏了。工具很好用,解决了好几个泄漏。谢谢!

出了作用域不一定被销毁,可能闭包循环引用形成环了。alertVc->block->alertVc

Version 10.40.2 The same issue ![crash](https://github.com/user-attachments/assets/3ea72fae-605c-419d-b491-92e4a98bebd9)