Selects the file at the specified path.
- macOS 10.0+
The full path of the file to select.
The path to use for the file viewer. If you specify a nonempty path string, this method opens a new file viewer. If you specify an empty string (
@""), this method selects the file in the main viewer.
true if the file was successfully selected; otherwise,
In macOS 10.5 and later, this method does not follow symlinks when selecting the file. If the
full parameter contains any symlinks, this method selects the symlink instead of the file it targets. If you want to select the target file, use the
resolving method to resolve any symlinks before calling this method.
You can safely call this method from any thread of your app.