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

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


  • Subject: Re: Application is not available in the launched applications list.
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 25 Jan 2010 00:08:10 -0800

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

  • Follow-Ups:
    • Re: Re: Application is not available in the launched applications list.
      • From: email@hidden
References: 
 >Application is not available in the launched applications list. (From: Ramesh P <email@hidden>)

  • Prev by Date: Application is not available in the launched applications list.
  • Next by Date: Re: Frame/layout rect
  • Previous by thread: Application is not available in the launched applications list.
  • Next by thread: Re: Re: Application is not available in the launched applications list.
  • Index(es):
    • Date
    • Thread