How to safely shut down a loading UIWebView in viewWillDisappear?

前端 未结 6 1221
温柔的废话
温柔的废话 2020-12-07 11:34

I have a view containing a UIWebView which is loading a google map (so lots of javascript etc). The problem I have is that if the user hits the \'back\' button on the nav ba

6条回答
  •  死守一世寂寞
    2020-12-07 12:15

    A simple release message in dealloc ought to be enough.

    Your second problem sounds like a prematurely deallocated view, but I can't say much without seeing some code.

提交回复
热议问题