• 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
Re: User Picture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: User Picture
      • From: "Pedro F. Campos" <email@hidden>
References: 
 >Re: User Picture (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: [NSCursor set] not setting the cursor
  • Next by Date: Re: Cocoa Application (and JAVA Bridge) Compile Error with JAM "Missing file or directory"
  • Previous by thread: Re: User Picture
  • Next by thread: Re: User Picture
  • Index(es):
    • Date
    • Thread