• 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: Replacing Info.plist programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing Info.plist programmatically


  • Subject: Re: Replacing Info.plist programmatically
  • From: John Stiles <email@hidden>
  • Date: Wed, 22 Nov 2006 13:45:20 -0800

On Nov 22, 2006, at 12:29 PM, Claudio Procida wrote:

There's really no reason to change your Info.plist. This research will not help you.
If you want to control whether you're in the dock or not at startup, see my previous email re TransformProcessType. Hacking your Info.plist to do this is much more difficult.
If you want to convert from a docked app to an undocked app after you've started up, sorry—there's no way to do this in OS X. You'll have to ask the user to relaunch the app.

Restarting the app was already taken into account.

The risk of breaking Leopard's code signing troubles me, so I'll follow your directions.

That isn't your only concern. If the user isn't running as an admin, it is likely that they won't be able to modify the app bundle's contents at all :|
Also, in a multi-user environment, you may have two different users and each one could have a different preference about whether it should show in the dock or not.


So I always have to start the app as a LSUIElement and, if the "show dock icon" preference is set to yes, transform the process type as a foreground app. Right?

Right. That will do it. _______________________________________________

Cocoa-dev mailing list      (email@hidden)

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: Replacing Info.plist programmatically (From: Claudio Procida <email@hidden>)

  • Prev by Date: Re: KVO and relationships
  • Next by Date: Storing NSMutableDictionary in NSMutableArray
  • Previous by thread: Re: Replacing Info.plist programmatically
  • Next by thread: Re: Replacing Info.plist programmatically
  • Index(es):
    • Date
    • Thread