• 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: Background Only App in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background Only App in Cocoa


  • Subject: Re: Background Only App in Cocoa
  • From: Douglas Davidson <email@hidden>
  • Date: Wed, 20 Mar 2002 09:27:42 -0800

On Wednesday, March 20, 2002, at 08:45 AM, Adam Atlas wrote:

If it must have visible UI elements (i.e. windows) at all times but not show up in the dock, etc. set NSUIElement to 1 (as a string) in Info.plist. If it must be a background app, set NSBackgroundOnly to 1, again as a string.

Yes, but the currently recommended forms of these keys have an LS prefix, because they are defined and used by Launch Services. So, set LSBackgroundOnly to 1 for a true background process, or LSUIElement for a non-application with occasional UI. The System Overview documentation has a section specifically on "Information Property Lists" which documents LSBackgroundOnly, at least. Try searching developer.apple.com for that.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Background Only App in Cocoa (From: Adam Atlas <email@hidden>)

  • Prev by Date: Re: 8-bit chars in @""
  • Next by Date: Re: Background Only App in Cocoa
  • Previous by thread: Re: Background Only App in Cocoa
  • Next by thread: NSImage Questions
  • Index(es):
    • Date
    • Thread