Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

new UIPDFPageRenderOperation error with iOS 9.3?

Tags:

ios

uiwebview

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?

like image 822
jdlace Avatar asked Mar 27 '16 02:03

jdlace


1 Answers

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.

like image 75
kejoki Avatar answered Oct 23 '22 06:10

kejoki