Comments (5)
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
from ios-htmltopdf.
Seems very similar to: brentnycum/BNHtmlPdfKit#12
Have you figured out the origin?
from ios-htmltopdf.
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.
from ios-htmltopdf.
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. :-/
from ios-htmltopdf.
It does not work at all. Crashes without any reason.
from ios-htmltopdf.
Related Issues (20)
- Content is cropped if too wide HOT 5
- Multiple HTML files to one PDF HOT 1
- Balnk page because of page-break trough CSS HOT 3
- page breaks HOT 4
- PDF coming in two pages HOT 4
- Images not come in generated pdf HOT 2
- How to get page number display on header HOT 2
- not recognising href tag HOT 1
- Unwanted scale factor when rendering pages
- Swift compatible?
- Carthage support HOT 1
- iPad pdf generate issue HOT 1
- HTMLtoPDF did fail error HOT 1
- increase margin for first page
- Hyperlink not working HOT 1
- Convert multiple HTML to multiple pdf using a for loop.
- Footer for pdf
- pod update not getting latest version
- Images missing after change to WKWebView HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-htmltopdf.