init(appURL:itemURLs:passThruParams:launchFlags:asyncRefCon:)
Create a launch URL with the provided parameters.
Declaration
init(appURL: Unmanaged<CFURL>?, itemURLs: Unmanaged<CFArray>?, passThruParams: UnsafePointer<AEDesc>?, launchFlags: LSLaunchFlags, asyncRefCon: UnsafeMutableRawPointer?)Parameters
- appURL:
The URL of the application to launch.
- itemURLs:
An array of URLs for the items to open.
- passThruParams:
Optional parameters passed to the application without parsing.
- launchFlags:
Flags specifying the launch behavior.
- asyncRefCon:
A pointer to an arbitrary application-defined value notifying you of an application’s launch or termination.