Re: Launching another app from mine
Re: Launching another app from mine
- Subject: Re: Launching another app from mine
- From: James Crate via Cocoa-dev <email@hidden>
- Date: Mon, 15 Jun 2020 16:29:21 -0400
On Jun 15, 2020, at 2:30 PM, Gabriel Zachmann via Cocoa-dev
<email@hidden> wrote:
>
> I would like to launch application B from my application A using Swift.
> Both applications are created, compiled, signed, and notarized by me.
> Challenge: no user intervention should be necessary when launching B from A.
>
> Is that possible?
NSWorkspace does this. Look at the launchApplication method. You can get the
app name from the bundle identifier using the NSWorkSpace
URLForApplicationWithBundleIdentifier method.
Jim Crate
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden