Closed SilentHunter124 closed 10 years ago
Obviously I found a solution. Do the following
if(_PDFCreator == NULL)
_PDFCreator = [NDHTMLtoPDF createPDFWithHTML:html pathForPDF:filePath delegate:self pageSize:kPaperSizeA4 margins:UIEdgeInsetsMake(10, 5, 10, 5)];
And in BOTH delegate methods add:
_PDFCreator = NULL;
It is generating a EXC_BAD_ACCESS Message when using your example:
This is the code: