Re: User Picture
Re: User Picture
- Subject: Re: User Picture
- From: "Sean McBride" <email@hidden>
- Date: Mon, 20 Sep 2004 20:50:43 -0400
Nick Zitzmann (email@hidden) on Mon, Sep 20, 2004 13:12 said:
>On Sep 20, 2004, at 11:04 AM, Pedro F. Campos wrote:
>
>> does anyone know how to access the current user's image, like iChat or
>> AddressBook?
>
>Yes.
Pedro,
Since Nick apparently clicked 'send mail' too fast (I'm assuming he's not
attempting public ridicule of your not quite correctly phrased question),
here is something a little more useful:
NSData* imgData = [[[ABAddressBook sharedAddressBook] me] imageData];
You should read up on the AddressBook framework for lots more info.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden