Returns the path of the item pointed to by a symbolic link.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
The path of a file or directory.
If an error occurs, upon return contains an
NSErrorobject that describes the problem. Pass
NULLif you do not want error information.
NSString object containing the path of the directory or file to which the symbolic link
path refers, or
nil upon failure. If the symbolic link is specified as a relative path, that relative path is returned.