Have you implemented presentedSubitemAtURL: didMoveToURL: ?
My guess is that deleting it actually moves it to trash, and that is what will be reported to you via the didMove... method. That is what I see on iOS when I delete a file using the Files app.
Now this raises the question of what we're supposed to do in that case. If the user renames a file that I am presenting, or moves it to a different folder, then I update anywhere that is showing the filename and continue to display the file. (Right?) But if the user deletes the file from the files app, I think they will be surprised if my app continues to display it with the new filename ".Trash/name". Do I have to specifically detect filenames that contain the magic component ".Trash"?
Topic:
App & System Services
SubTopic:
General
Tags: