0
votes
iOS Address Book fun
The Hacker's Corner
– Getting data out of the iOS address book is a lot harder than I thought… Must make component… Here’s a Q&D routine I managed to eek out today. It simply prints all contacts and all their numbers to the log console. Enjoy! uses iPhoneAll, AddressBook, CFArray, CFBase; procedure DumpAddressBook; var addressBook : ABAddressBookRef; allPeople : CFArrayRef; nPeople : CFIndex; ref : ABRecordRef; i, j : Integer; firstName : CFStringRef; lastName : CFStringRef; phoneNumber : CFStringRef; l, v : CFStringRef; S : NSString; begin addressBook := ...
Statistics
|
Visits by Source |
User Actions |




