Opens one or more files from an array of URLs.
- macOS 10.3+
An array of
NSURLobjects, each one identifying a URL for the app to open.
A bundle identifier string or
nilto use the default system bindings. This value corresponds to the value in the
CFBundlekey of the app’s
Infofile. For example, the bundle identifier of the TextEdit app is
.apple .Text Edit
Options to use when launching the app. Values for this parameter are described in
Additional options specified in an AppleEvent-style descriptor. For example, you could use this parameter to specify additional documents to open when the app is launched.
launchare currently unused, and you should pass
YES if the app was found and launched; otherwise,
It is safe to call this method from any thread of your app.