IOS8 UIPrintPageRenderer freezes

I am using BNHtmlPdfKit to render Html to PDF. It worked great, but in iOS8 it just hangs on

[renderer drawPageAtIndex:i inRect:renderer.paperRect]; 

Honestly, I don’t even know how to debug it - there are no error messages, and you can continue to continue, but it just breaks at one breakpoint. In the end, it's just time.

Does anyone have any ideas?

Greetings

+5
source share
2 answers

Verify that Xcode does not have exception control points. This will cause the application to freeze. You can ignore the exception that occurs inside the method call mentioned above.

+4
source

You can only disable an exception that is UIPrintPageRenderer called __cxa_throw , and any other exception breakpoint will work. enter image description here

0
source

Source: https://habr.com/ru/post/1202483/


All Articles