new UIPDFPageRenderOperation error with iOS 9.3?

有些话、适合烂在心里 提交于 2019-12-03 03:08:27

问题


I'm adding some PDF links to my UIWebView and every time one loads and I make a scroll gesture, I get this error:

objc[910]: UIPDFPageRenderOperation object 0x14acaca10 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug

So, is the UIPDF is being deallocated while I try to scroll?

Anyone have a hint?


回答1:


My solution was to disconnect the iPad from the Mac and run separately Xcode or Instruments. The crashes with an overrelease PDF error went away. Kinda stinks that I can't open any of the controllers/views where there is a webview with a PDF during my debugging sessions, but at least it's not crashing.



来源:https://stackoverflow.com/questions/36243191/new-uipdfpagerenderoperation-error-with-ios-9-3

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