tags:

views:

73

answers:

0

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 ..