I am trying to get all contacts from contacts book and then use them after processing according to the requirement .
I am collecting the name and numbers of all contacts using .....
NSString *strFNm=(NSString *) ABRecordCopyValue(ref,kABPersonFirstNameProperty);
ABMultiValueRef phoneNumbers = ABRecordCopyValue(ref, kABPersonPhoneProperty);
and I am adding each name and contacts to 2 separate arrays.
This all thing works correctly in simulator names and arrays in array (displayed with NSLog) however when I try to check the same thing in device array is always empty ... there is nothing in the array. (The contact book in device is having 127 contacts).
If any one has some solution on this please do write to this thread.