• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to Launch an App using the Bundle ID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Launch an App using the Bundle ID?


  • Subject: Re: How to Launch an App using the Bundle ID?
  • From: Dave <email@hidden>
  • Date: Wed, 21 Sep 2016 11:43:51 +0100

Hi,

Thanks a lot! I was surprised that NSWorkspace doesn’t include this seemingly useful method.

All the Best
Dave



> On 20 Sep 2016, at 16:16, Charles Srstka <email@hidden> wrote:
>
>> On Sep 20, 2016, at 5:48 AM, Dave <email@hidden <mailto: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


References: 
 >How to Launch an App using the Bundle ID? (From: Dave <email@hidden>)
 >Re: How to Launch an App using the Bundle ID? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Passing param by reference then using within block throws exception
  • Next by Date: Re: Passing param by reference then using within block throws exception
  • Previous by thread: Re: How to Launch an App using the Bundle ID?
  • Next by thread: Conditionally declaring a BOOL in a .m file to be accessed in a .c function
  • Index(es):
    • Date
    • Thread