UIWebView crashing on second pdf load request

前端 未结 3 1288
情话喂你
情话喂你 2021-02-05 11:58

I have a UIWebView I\'m using to show several small PDF\'s. The user selects a news article from a table and then the article(PDF) is loaded in a UIWebView on the same screen.

3条回答
  •  失恋的感觉
    2021-02-05 12:25

    I have this exact problem as well. Big thanks to Steve for helping me narrow it down even further, my exception is the same as his.

    Do you have break on all exceptions set? I found that if I disable that breakpoint, it doesn't crash any more. Which got me thinking it was just some bug in the new debugger or iOS version? The other thing that got me thinking that was that this crash does not occur when I run on a device with iOS 4.3.x or the 4.3 simulator.

提交回复
热议问题