Notifies relevant file presenters that the location of a file or directory changed.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The old location of the file or directory.
The new location of the file or directory.
If you move or rename a file or directory as part of a write operation, call this method to notify relevant file presenters that the change occurred. This method calls the
presented method for any of the item’s file presenters. If the item is a directory, this method calls
presented on the file presenters for the item’s contents. Finally, it calls
presented on the file presenter of any directory containing the item.
You must call this method from a coordinated write block. Calling this method with the same URL in the
new parameters is harmless. This call must balance a call to