Closed JordanMontel closed 9 years ago
Looks like you forget to set fieldMask
.
APAddressBook *addressBook = [[APAddressBook alloc] init];
addressBook.fieldsMask = APContactFieldDefault | APContactFieldEmails;
Read Select contact fields bit-mask section of readme;
Thank you it works :)
Hello,
Thanks for your library to save me a lot of time :)
When I do the following code :
APAddressBook *addressBook = [[APAddressBook alloc] init];
I retrieved all phones numbers per contact but emails are always "null". I tried to test both device and simulator on iOS 8 and 9.
The code in
APContact
never run inside this test :Thank by advance for your answer.