iOS UIWebView crash in “WebThread”

前端 未结 3 1874
长情又很酷
长情又很酷 2020-12-09 22:23

Anyone able to help me out with this crash? It happens intermittently when switching back and forth between some UIWebView instances while they are loading.

The cra

3条回答
  •  轮回少年
    2020-12-09 22:35

    I see that you have iOs 5.0. Are the files that you're loading Office documents (docx, xls)?

    If so, then your case is the same as mine. This problem reproduces only on systems with 5.0 (iPad and iPad 2 here), and happens when you try to stop UIWebView object before it finishes loading the file. Whether it's by calling stopLoading or loadRequest

    This doesn't happen with txt files.

    And if it does, it originates in WebThread starting from line:

    #1  0x34912158 in -[QuickLookHandleAsDelegate connection:didReceiveData:lengthReceived:] ()
    

    and jumping to some random pointers like:

    #0  0x00000010 in 0x00000010 ()
    

提交回复
热议问题