Re: How to Launch an App using the Bundle ID?
Re: How to Launch an App using the Bundle ID?
- Subject: Re: How to Launch an App using the Bundle ID?
- From: Charles Srstka <email@hidden>
- Date: Tue, 20 Sep 2016 10:16:08 -0500
> On Sep 20, 2016, at 5:48 AM, Dave <email@hidden> wrote:
>
> Hi All,
>
>
> I’m using launchApplication method from Shared Workspace, however, it accept an Application Name and all I have is the Bundle ID. How can I launch an App using the Bundle ID?
>
> All the Best
> Dave
Get the URL of the application by using -[NSWorkspace URLForApplicationWithBundleIdentifier:], then launch the application by the URL.
Charles
_______________________________________________
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