Thursday, October 29, 2026
HomeiOS Developmentios - Utilizing Markup by way of UIDocumentInteractionController

ios – Utilizing Markup by way of UIDocumentInteractionController

[ad_1]

I’m making an attempt to assist Apple’s Markup of PDFs by way of UIDocumentInteractionController for recordsdata in my Paperwork folder on iPad. I would like the paperwork edited in-place, so my app can load them once more after the consumer is completed. I’ve set the Data.plist choices for this, and the in-place enhancing does appear to work. Modifications are saved to the identical file.

After I convey up the UIDocumentInteractionController popover for the PDF, I’m able to select “Markup”, which then exhibits the PDF prepared for enhancing. I can edit it too. The issue is once I click on “Finished”: I get a menu seem with the choices “Save File To…” and “Delete PDF”. No possibility simply to shut the editor or save.

The irritating factor is, I can see by way of Finder that the file is definitely edited in-place within the simulator, and is already saved when this menu seems. I simply need the editor to vanish and never confuse the consumer. Ie I would like “Finished” to be “Finished”.

The Done menu, which includes not direct "Close" or "Save" options.

Maybe associated, and likewise annoying, is that whereas the markup editor is seen, there’s an additional listing added to Paperwork known as (A Doc Being Saved By <<My App Identify>>), and that folder is totally empty the entire time. Eradicating the folder throughout enhancing doesn’t change something.

Anybody have an concept if I’m doing one thing incorrect, or if there’s a option to have the Finished button merely dismiss?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments