iOS PDF SDK - HTML2PDF

Hi,

I encountered the following error “Conversion failed. HTTP Code: 0” using sample code in https://www.pdftron.com/pdfnet/samplecode/HTML2PDFTest.m.html (Tried Example 1 & 4). Could you please help?

Based on the error message it looks like you are trying to run the HTML2PDF sample on iOS. Currently that sample code is for desktop only (though most of our samples are for all platforms). That particular code then is for OSX.

For conversion of HTML to PDF on iOS please see the following forum post for an alternative solution.
https://groups.google.com/d/msg/pdfnet-sdk/qhUrawDj4YA/pVeNOLkJ73wJ