-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on iOS8.1 #27
Comments
It looks like it is some kind of bug in iOS8, so likely nothing to do with NDHTMLtoPDF. For example see http://stackoverflow.com/questions/25822664/ios8-uiprintpagerenderer-hangs |
Seems very similar to: brentnycum/BNHtmlPdfKit#12 |
I still haven't figured out the cause - nor found a workaround, despite using a tech support incident with Apple. It doesn't occur in all circumstances. If I create a minimal project to try to replicate the error, then it runs ok. It could relate to multi-threading (I run PDF generation in background). But I also get this same crash even when the PDF content is a single line of text, so pretty sure it's not related to #12. |
It turns out that while this crashes in the simulator, it runs ok on a device. Hence clearly it's a simulator bug. Can't believe it took me so long to try this code on an actual device. :-/ |
It does not work at all. Crashes without any reason. |
I have been using this code for a while and it worked perfectly. However, when I try to run the same code on iOS8.1 there is a crash in the printToPDF function on the call to drawPageAtIndex.
Is anyone else seeing the same problem?
The text was updated successfully, but these errors were encountered: