devedbox / AXWebViewController

AXWebViewController is a webViewController to browse web content inside applications. It’s a lightweight controller on iOS platform based on WKWebView (UIWebView would be the base Kit under iOS 8.0). It added navigation tool bar to refresh, go back, go forward and so on. It support the navigation style on WeChat. It is a simple-using and convenient web view controller using inside applications.
MIT License
797 stars 133 forks source link

不进入dealloc方法 #23

Closed cnYB closed 7 years ago

cnYB commented 7 years ago

不进入dealloc方法

devedbox commented 7 years ago

看看代码

devedbox commented 7 years ago

@CoderYB 方便看看你的代码吗?这样有助于解决你的问题。

IAFung commented 7 years ago

你的demo就不释放 __weak typeof(self) wself = self; _progressView.ax_webViewController = wself; 这个代码注释了才会走dealloc

devedbox commented 7 years ago

@CoderYB @IAFung 感谢发现这个问题,一直都没注意到这个内存管理的问题!问题已解决:v0.4.4