Application is background only

Discussion in 'Mac Programming' started by sivaprakash, May 16, 2011.

  1. macrumors member

    Joined:
    Mar 10, 2011
    Location:
    Chennai, India
    #1
    Hi

    If I enable "Application is background only" for an application it works in background then how it differs from Daemon Services (Launch Agents). Because both of them are running in background and starts itself.

    Thanks
    Siva
     
  2. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    Quote from the Launch Services Keys chapter of the Information Property List Key Reference.

    Setting either of these in your app's Info.plist won't cause your application to automatically start. They're just about what is visible (or potentially visible) to the user once it does start.

    So you'd potentially used a combination of both setting up launchd to actually start your program, and setting one of these keys to keep it out of the user's way.
     

Share This Page