Programmatically Generate PDF from HTML on iPhone

前端 未结 6 1387
挽巷
挽巷 2021-02-10 15:57

I am looking for a way to programmatically (in obj-c) generate a PDF file from a local html file. I am dynamically generating the html from user inputs, I need to create the PD

6条回答
  •  悲&欢浪女
    2021-02-10 16:32

    Why not use a WebService, send the HTML page to this and retrieve the PDF-file ?

    That way you can use iTextSharp and C#, and you're done in about 2 minutes.
    Plus (if you're evil) you can store and see all the data on your server.

提交回复
热议问题