I'm using BNHtmlPdfKit to render Html to PDF. It worked great but in iOS8 it just hangs on
[renderer drawPageAtIndex:i inRect:renderer.paperRect];
To be honest I don't even know how to debug it - theres no error messages and you can keep pressing continue but just breaks at the same breakpoint. In the end it just times out.
Anyone got any ideas?
Cheers
Make sure that you do not have exception breakpoints enabled in Xcode. That will cause the app to hang here. You can ignore the exception that occurs inside of the method call you listed above.
You can disable only an exception that is thrown by UIPrintPageRenderer
called __cxa_throw
and any other exception breakpoint will still work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With