Using the same UIWebView across different viewControllers

半城伤御伤魂 提交于 2019-12-05 00:20:56
Maximus S

I finally figured out. The retain count was always 2, even after I removed the UIWebView instance from the FirstViewController. I removed the UIWebView from the storyboard and created it programmatically when the firstViewController was loaded. I left everything else the same. Finally I could start reusing the webView.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!