Hi List,

I've been doing a lot with Authorization Services lately. My code is working in 
regard to setting up an AuthorizationEnvironment and passing that into 
AuthorizationCopyRights(). However, specifically I am curious about the 
environment tag: kAuthorizationEnvironmentIcon

When I use this tag, it didn't work at first and so I did some google'ing. 
Found a few things on this, but not a whole heck of a lot. I used a resource 
directly from the path @ /System/Library/CoreServices/Screen Sharing.app and 
this worked!

Here is what did not work:
Copying the same resource to my desktop and using this path.
Using my own resource inside or out of my bundle.
Code-signing my bundle and using a resource in it.

Conclusions:
My code is works when using an app resource in /System/Library/CoreServices
Nothing helpful is in AuthorizationTags.h
So…

A) Something is buggy using kAuthorizationEnvironmentIcon
B) There are some undocumented specification

Does anybody know the answer to this?

Thanks,
Arvin

Note: All unit tests used a png image file.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to