Load PDF from documents directory - iPhone

后端 未结 3 435
小鲜肉
小鲜肉 2021-01-27 21:44

Instead of loading a PDF from the resources folder I would like to load it from the documents directory. I have been trying to do this for days but the CGPDFDocumentRef keeps

3条回答
  •  清酒与你
    2021-01-27 22:16

    The obvious answer would be to use the pdfURL in der DocumentCreate function. finalURL comes out of nowhere and it's not apparent what it's even there for.

    pdf = CGPDFDocumentCreateWithURL(pdfURL);

提交回复
热议问题