On 6/13/2018 12:58 PM, Sean McBride wrote:
On Wed, 13 Jun 2018 11:01:40 -0700, James Walker said:
On iOS, you can give the user a hint of why you need access to contacts
by putting a purpose string in the Info.plist. There isn't any way to
do that on macOS, is there?
There is: NSContactsUsageDescription in your Info.plist
Cheers,
Sean
Oh, cool. The " Information Property List Key Reference" seemed to
indicate in one place that it's only for iOS, but now I see another
place where it says macOS 10.8 and later. Do you happen to know if it
works with the old AddressBook framework, or do I need to rewrite with
the CNContact stuff?
_______________________________________________
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com