ABRecordSetValue(person, kABPersonPhoneProperty, (__bridge CFTypeRef)phoneNum, nil);
ABRecordSetValue(person, kABPersonEmailProperty, (__bridge CFTypeRef)eMailId, nil);
Commenting these two lines gives proper output (Saving the entry to AdressBook, without email and phone entry). But, while in execution it fails and crashes the program.
Value for the Vars are:
phoneNum : 000-000-0000
eMailId : [email protected]
Error type: EXC_BAD_ACCESS
Any Idea? Or need any more info??