• 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: Re: Application is not available in the launched applications list.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Application is not available in the launched applications list.


  • Subject: Re: Re: Application is not available in the launched applications list.
  • From: email@hidden
  • Date: Mon, 25 Jan 2010 08:55:11 +0000

Thanks Mr.Kyle for your quick reply,
You are correct.
I have added the following line in my info.plist
<key>NSUIElement</key>
<string>1</string>
I do not want to show my application on the dock.


Thanks, Ramesh.P




On , Kyle Sluder <email@hidden> wrote:
On Sun, Jan 24, 2010 at 11:36 PM, Ramesh P email@hidden> wrote:

> My cocoa application is running successfully. But when I use this code

> NSLog(@"%@",[[NSWorkspace sharedworkspace]launchedapplication]);

> in another application, it is not printing my application name. What is the

> problem with my running application?

> Now I opened the Force Quit in my MAC. There also my application name is not

> available. How can solve this? Help me.



First of all, case matters. +sharedworkspace is *not* the same as

+sharedWorkspace. Either you didn't copy/paste your code directly, or

you are ignoring compiler warnings.



If your app doesn't appear in the Force Quit dialog, one of the

following is happening:

1. You're not writing a regular Cocoa app.

2. You have specified LSUIElement or LSBackgroundOnly, or used

TransformProcessType to achieve the same effect.



--Kyle Sluder

_______________________________________________

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: 
 >Re: Application is not available in the launched applications list. (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: UIButton's Sender Control Events
  • Next by Date: Re: Allow only root/admin users to execute the cocoa app
  • Previous by thread: Re: Application is not available in the launched applications list.
  • Next by thread: MVC design Q - remembering Core Data selections
  • Index(es):
    • Date
    • Thread