I've found out, that I can detect the deletion of a UIDocument on the iCloud through following method:
- (void)accommodatePresentedItemDeletionWithCompletionHandler:(void (^)(NSError *))completionHandler
This method gets correctly called, but I don't know what to do in the method. At the moment I close the document, if it's still open, but it looks like the document gets saved on the old path while closing, so the document reappears.
I have already searched intensely, but I haven't found anything neither in the Apple doc nor in any forum.
Has somebody made similar experience or has somebody handled the deletion correctly?