I'm trying to create and save pdf for a report in my apps. I search and found this -- Create and store PDF document programmatically using Swift for iOS really helpful, it create pdf from html which is great but it doesn't work for <img>
. I want the logo to be appear in my report/pdf.
It worked and image showed when I try it on browser, but the image is not saved into the pdf after I check back the file. I've search and try to do an base64 encoded image but failed too.
Or is there any better way to design and create beautiful pdf for reporting?
Thanks in advance.