Bad access on removing the record from the contacts

Posted by Mohammed Sadiq on Stack Overflow See other posts from Stack Overflow or by Mohammed Sadiq
Published on 2010-03-13T13:54:29Z Indexed on 2010/03/13 13:55 UTC
Read the original article Hit count: 439

Filed under:

Hi all,

   I am facing a issue in removing the ABRecord . The code that i use is as follows :

BOOL isRemoved = ABAddressBookRemoveRecord(addressbook, record, &error). But I am receiving the following call stack :

*#0 0x005355bd in moveToRoot *

*#1 0x005bbeb6 in sqlite3VdbeExec *

**#2 0x0058e7e7 in sqlite3_step **

*#3 0x000800ad in CPSqliteStatementSendResults *

*#4 0x00082dcd in CPRecordStoreProcessStatementWithPropertyIndices *

*#5 0x00082e1d in CPRecordStoreProcessStatement *

*#6 0x325b4b63 in ABCRemoveRecord *

*#7 0x325c578a in ABAddressBookRemoveRecord *

  • I searched , and this is the only way to remove the records from the contact . I dont know the reason for this access error . Any hep will be greatly appreciated ..

Best Regards,

MOhammed Sadiq.

© Stack Overflow or respective owner

Related posts about iphone