I am using PSPDFKit to add annotations to PDF on iOS. The problem is that the created annotation can still be modified/deleted by another app (e.g. Preview) after the file has been saved, even after I did the following before saving.
annotation.editable = NO;
annotation.flags |= (PSPDFAnnotationFlagReadOnly | PSPDFAnnotationFlagLocked | PSPDFAnnotationFlagLockedContents);
Is there a way to "lock" the annotation onto PDF so that it is not writable (or at least not easily writable) by other software?