Asks the delegate if the operation should continue after an error occurs while linking to the item at the specified URL.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The file manager object that attempted to create the link.
The error that occurred during the link attempt.
The URL of the attempted link location.
The URL of the file or directory that was the destination of the hard link.
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 creating a hard link to the item at the specified location. If you return
true, the file manager continues creating any other links associated with the current operation and ignores the error.
This method performs the same task as the
file method and is preferred over that method in macOS 10.6 and later.