Asks the delegate if the operation should continue after an error occurs while removing the item at the specified path.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The file manager object that attempted to remove the item.
The error that occurred during the attempt to copy.
The path for the file or directory that the file manager tried to delete.
true if the operation should proceed or
false if it should be aborted. If you do not implement this method, the file manager assumes a response of
The file manager calls this method when there is a problem deleting the item to the specified location. If you return
true, the file manager continues deleting any remaining items and ignores the error.
This method performs the same task as the
file method, which is preferred over this method in macOS 10.6 and later.