Saving Triggers for Annotations and Bookmarks
PSPDFKit will save "dirty" (changed/created/deleted) annotations on several occasions.
- When the viewController is popped. (In
viewWillDisappear:- unless PSPDFKit is presenting a controller on top of it)
- When the document on the
- When the app is moved into the background (
UIActivityViewControllerasks for a document data/url to share.
- When a document will be digitally signed.
Saving can also be controlled on a per-document level by setting
Saving can always be triggered from the main thread by calling
saveWithOptions:error: on the document.