I have setup addressbook contact's images using a code, it works well and the image is there when I browse the Addressbook,
But when a call comes, it only shows a thumbnail? I want to show the full image instead the thumbnail? Is it a bug?
NSData *dataRef = UIImageJPEGRepresentation(entry.recIcon,1.0);
CFDataRef cfdata = CFDataCreate(NULL, [dataRef bytes], [dataRef length]);
ABPersonRemoveImageData(person, &error);
ABAddressBookSave(addressBook, &error);
BOOL ret = ABPersonSetImageData(person, cfdata, &error);
if (ret) {
ret = ABAddressBookSave(addressBook, &error);
} else {
NSLog(@"Could not write the image to the person");
}
CFRelease(cfdata);