Re: Re: Application is not available in the launched applications list.
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