views:

358

answers:

1

I'd like to be able to set a contact's default image programmatically on the iPhone. Does the API currently allow for that? I've found you can toggle several properties for the person, and create new contacts. I can't seem to find anywhere in the documentation that allows to set a photo.

Thanks!

+3  A: 

ABPersonSetImageData is what you are looking for.

keremk