¡@

Home 

2014/10/15 ¤U¤È 10:03:57

iphone Programming Glossary: arphone

How to get contacts detail of iphone and make CSV file of that contact

http://stackoverflow.com/questions/7118772/how-to-get-contacts-detail-of-iphone-and-make-csv-file-of-that-contact

myAddressBook setObject suffix forKey @ suffix myAddressBook setObject jobTitle forKey @ jobTitle NSMutableArray arPhone NSMutableArray alloc init ABMultiValueRef phones ABRecordCopyValue ref kABPersonPhoneProperty for CFIndex j 0 j ABMultiValueGetCount.. alloc init temp setObject phoneNumber forKey @ phoneNumber temp setObject phoneLabel forKey @ phoneNumber arPhone addObject temp temp release myAddressBook setObject arPhone forKey @ Phone arPhone release CFStringRef address CFStringRef.. temp setObject phoneLabel forKey @ phoneNumber arPhone addObject temp temp release myAddressBook setObject arPhone forKey @ Phone arPhone release CFStringRef address CFStringRef label ABMutableMultiValueRef multi ABRecordCopyValue ref..