This is project show how to burn image into PDF (Save As Flatten)
- PDFKit doesn't have any function to save Image As Flatten.
- You need to use Core Graphics for this purpose.
- The coordinate space used in this example is PDF coordinate not UIView coordinate.
- You can convert UIView coordinate to PDF coordinator using this. if needed.
- The image will burn to current page.
- After an image is burned to PDF you will get the PDF Data you can save it to the user device or just display it as on the example.