Accessing list of persons with email address from iPhone address book
I want to display list of people in the iPhone's address book with atleast one email address. Can someone pl开发者_如何学Goease explain how can I filter this using the AddressBook framework?
Thanks a lot
Take a look at this (it's your question exactly)
and this post
which references Erica Sadun's ABContactHelper
It looks like the first link has the code worked out, though there was mention of an arrayIndexOutOfBounds exception (which shouldn't be too hard to debug).
精彩评论