Creates a symbolic link at the specified URL that points to an item at the given URL.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The file URL at which to create the new symbolic link. The last path component of the URL issued as the name of the link.
The file URL that contains the item to be pointed to by the link. In other words, this is the destination of the link.
true if the symbolic link was created or
false if an error occurred. This method also returns
false if a file, directory, or link already exists at
This method does not traverse symbolic links contained in
dest, making it possible to create symbolic links to locations that do not yet exist. Also, if the final path component in
url is a symbolic link, that link is not followed.