Using Xamarin I am trying to get image from ABPerson from AddressBook. I am successfuly getting all info about person name, phones etc. But method ABPerson.HasImage returns false for all contacts even for those who have a photo in the address book and method ABPerson.GetImage also always returns null. I tried to test it not on the simulator only, but also on the device. Anyone know how I can fix it?
Code that I am using to to retrieve contacts:
using (var addressBook = new ABAddressBook()){
addressBook.requestAccess((bool haveAccess, NSError e) => {
if(haveAccess){
contacts = addressBook.GetPeople().ToList();
}
});
}