How to append or Save a PDF Document in PDFKit incrementally

Hi - I am using PDFKit to create annotations (drawings), comments, and filling out forms of PDF Templates that are digitally signed. The signature permissions allow for form filling and annotations.

How can I save the document incrementally or by appending the changes to the end of a PDF so that it doesn't invalidate the signature and its hash.

I didn't see any flag options for this in the PDF write (toFile/URL) or dataRepresentation functions, but it seems noting has been added or changed since iOS 11.0.

Is there a flag to allow this with PDFDocumentWriteOption or is there another method I should be using?

Thank you.

How to append or Save a PDF Document in PDFKit incrementally
 
 
Q