• 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
Usage: kAuthorizationEnvironmentIcon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Usage: kAuthorizationEnvironmentIcon


  • Subject: Usage: kAuthorizationEnvironmentIcon
  • From: "Bhatnagar, Arvin" <email@hidden>
  • Date: Tue, 24 May 2011 09:29:06 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Usage: kAuthorizationEnvironmentIcon

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 (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

  • Prev by Date: Re: Restoring an NSPrintInfo doesn't restore enough
  • Next by Date: Re: Getting a handle on CoreAnimation and MVC
  • Previous by thread: Re: NSStream and NSRunModalForWindow
  • Next by thread: How to define allowed file extensions in Info.plist?
  • Index(es):
    • Date
    • Thread