Bad Access while reading ABAddressBookCopyArrayOfAllPeople
- by Mohammed Sadiq
HI all,
When I tried to read the record of all peoples from the device as follows:
NSArray* allPersons = (NSArray*)ABAddressBookCopyArrayOfAllPeople(addressBook);
I am getting a bad access. When I tried the same code in the simulator its working .
Stack trace as follows:
#0 0x322aafa8 in sqlite3_backup_init
#1 0x322cb248 in…