Re: LSSharedFileListInsertItemURL/SMLoginItemSetEnabled and sandbox
Re: LSSharedFileListInsertItemURL/SMLoginItemSetEnabled and sandbox
- Subject: Re: LSSharedFileListInsertItemURL/SMLoginItemSetEnabled and sandbox
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 12 Jan 2012 16:22:52 -0800
On Jan 12, 2012, at 16:00, Torsten Curdt wrote:
> I am a little confused about login items and the sandbox.
>
> The documentation says:
>
> "With App Sandbox, you cannot create a login item using functions in
> the LSSharedFileList.h header file. For example, you cannot use the
> function LSSharedFileListInsertItemURL."
>
> Yet after enabling the sandbox it still seems to work just fine. Maybe
> the sanbox is not active?
>
> Is there a good way to check for the sandbox at runtime?
>
> Anyone aware of sample code for the suggested helper app that manages
> the login items via SMLoginItemSetEnabled?
>
Well, you can check your app in Activity Monitor if you choose to display the "Sandbox" column...
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
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