¡@

Home 

2014/10/15 ¤U¤È 10:12:32

iphone Programming Glossary: peoplerefs

ABAddressBookRegisterExternalChangeCallback works, but data is stale

http://stackoverflow.com/questions/7138718/abaddressbookregisterexternalchangecallback-works-but-data-is-stale

info void context NSLog @ in MyAddressBook External Change Callback ABAddressBookRevert notifyAddressBook CFArrayRef peopleRefs ABAddressBookCopyArrayOfAllPeopleInSource notifyAddressBook kABSourceTypeLocal CFIndex count CFArrayGetCount peopleRefs.. ABAddressBookCopyArrayOfAllPeopleInSource notifyAddressBook kABSourceTypeLocal CFIndex count CFArrayGetCount peopleRefs NSMutableArray people NSMutableArray arrayWithCapacity count for CFIndex i 0 i count i ABRecordRef ref CFArrayGetValueAtIndex.. people NSMutableArray arrayWithCapacity count for CFIndex i 0 i count i ABRecordRef ref CFArrayGetValueAtIndex peopleRefs i ABRecordID id_ ABRecordGetRecordID ref TiContactsPerson person TiContactsPerson alloc _initWithPageContext context executionContext..