Launches the app corresponding to the specified
- macOS 10.0–10.15Deprecated
A bundle identifier string. 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.