Contacts

RSS for tag

Access the user's contacts and format and localize contact information using Contacts.

Posts under Contacts tag

194 Posts

Post

Replies

Boosts

Views

Activity

[iOS] Search LDAP contacts
I had a need to display and search for contacts from my LDAP server. Seems the most efficient solution is to connect my Device (Application Contact) with my LDAP server. And with the Contacts framework I will be able to fetch all Local contacts including my LDAP contacts. Is there a solution to know from the CNContact if this contact is among my LDAP Contacts or other (Local, iCloud,..) If you have another solution how to search on my LDAP contacts do not hesitate to suggest me. OpenDirectory is not available on iOS Thanks
0
0
1.2k
Nov ’22
adding address to contacts on macOS
Apple itself offers a nice piece of code for adding own addresses to "Contacts"-App. (see documentation for "Contacts" - Listing 1 Creating a contact) I try to use this code. But when executing this, my app crashes with error on saving the data. (see image) My code so far: import AppKit import Contacts class ContactsClass { func addToContacts( lastName: String, firstName: String, birthDate: Date?, mail: String = "", phone1: String = "", phone2: String = "", mobile: String = "", street: String, city: String, postCode: String ) { // Create a mutable object to add to the contact let contact = CNMutableContact() contact.givenName = firstName contact.familyName = lastName if mail != "" { let homeEmail = CNLabeledValue(label: CNLabelHome, value: mail as NSString) contact.emailAddresses = [homeEmail] } contact.phoneNumbers = [] if phone1 != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMain, value: CNPhoneNumber(stringValue: phone1))) } if phone2 != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMain, value: CNPhoneNumber(stringValue: phone2))) } if mobile != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMobile, value: CNPhoneNumber(stringValue: mobile))) } let homeAddress = CNMutablePostalAddress() homeAddress.street = street homeAddress.city = city homeAddress.postalCode = postCode contact.postalAddresses = [CNLabeledValue(label: CNLabelHome, value: homeAddress)] if birthDate != nil { let calendar = Calendar.current let dateComponents = calendar.dateComponents([.year,.month,.day], from: birthDate!) var birthday = DateComponents() birthday.day = dateComponents.day birthday.month = dateComponents.month birthday.year = dateComponents.year // (Optional) Omit the year value for a yearless birthday contact.birthday = birthday } // Save the newly created contact let store = CNContactStore() let saveRequest = CNSaveRequest() saveRequest.add(contact, toContainerWithIdentifier: nil) do { try store.execute(saveRequest) // <<-- Error appears here!! } catch { print("Saving contact failed, error: \(error)") // Handle the error } } } Console errors are: 2022-10-28 06:26:03.473439+0200 justCare[11808:992463] [api] Attempt to write notes by a pre-Fall-2022 app 2022-10-28 06:26:03.499714+0200 justCare[11808:992463] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-10-28 06:26:03.499770+0200 justCare[11808:992463] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-10-28 06:26:03.500823+0200 justCare[11808:992463] [ABCDContact] An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x600001f9bba0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs. Access to Contatcs is granted. Sandboxing is properly set for Contacts. So why this error now? Environment: macOS Ventura XCODE 14.0.1
3
0
987
Nov ’22
XCODE requesting access to save new contact Mac Catalyst
Im having trouble requesting access to save a new contact as of today with updating to Ventura 13.0 (22A380). Im requesting access to contacts using @IBAction func requestConactsAccess() {         CNContactStore().requestAccess(for: .contacts) { granted, error in             if granted {                 // Yes                 print("Granted")                 self.authStatusLabel.text = "Granted"             } else {                 // No                 print("Denied")                 self.authStatusLabel.text = "denied"             }         }     } But it is just being automatically denied. I can't save a contact either with an app that previously had permission. I created a small app to test this from scratch using the documentation "Working with the user’s contacts" https://developer.apple.com/documentation/contacts?language=objc I have been doing this since the first version of the app, Ive never had an issue Has something changed with regards to Requesting access to contacts in latest OS? https://developer.apple.com/documentation/contacts/requesting_authorization_to_access_contacts Thank you.
2
0
1.1k
Nov ’22
Update "preferred line" for dual-SIM devices
I am developing an application which manages contacts on iDevices. One of the attributes of a contact I would like to update is the "preferred line", a SIM to be used when calling/texting the specified contact. I've studied all available APIs to update contacts, https://developer.apple.com/documentation/contacts, but unfortunately there seems to be no way of updating the attribute I need - "preferred line". Such functionality exists on the iOS Contacts application, but seems not exposed through the SDK. Have I missed it, and such functionality exists? If no, are there plans to add such support? Thanks in advance for your kind response.
0
0
985
Nov ’22
CNSaveRequest without having a container assignment
Hi, When creating a new contact on MacOS Im getting this new error causing my app to crash, on my app only after updating my machine to Ventura 13.0. The last error before (lldb) is "An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x6000039b51a0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs." When saving a new contact I’m using  saveRequest.add(contact, toContainerWithIdentifier: nil)             do {                 try contactsStore.execute(saveRequest) ** I guess it does not like the nil. Am I supposed to add to a particular container, like iCloud? Documentation says to set it to nil - https://developer.apple.com/documentation/contacts/cnsaverequest/1403036-add Even with the most basic example from https://developer.apple.com/documentation/contacts the save request falis.
4
1
1.8k
Oct ’22
Contacts inaccessible on iOS 16.1 for Widget Extensions
In iOS 15 and 16, once an app gave permission to access Contacts, Widgets (and Lock Screen Widgets in iOS 16) could access Contacts. 16.1 beta 1 and 2 apparently no longer allow this (and there appears to be no work around, as Widgets can't ask you for permission separately from the parent app). My app (Curmmunicate) in the App Store will fail if this doesn't get a fix as it relies on this feature. Have filed a report: FB11563817 (Contacts not accessible from Widgets in iOS 16.1 betas). Report includes an Xcode sample project showing the issue.
4
1
1.4k
Oct ’22
usernotifications.filtering entitlement prevents a contact with an image from being added/updated
My notification service extension has the com.apple.developer.usernotifications.filtering entitlement and it would appear that this is preventing a contact with an image from either being added or updated, any attempt to do so results in calls to CNContactStore.execute() throwing an CNInvalidRecords error. If the filtering entitlement is removed then there are no problems and the contact can be added/updated without problem. If the entitlement is present but the contact is added/updated without an image then it is also problem free. It is specifically adding a contact with an image that cannot be accomplished if the entitlement is present. I've encountered problems with this entitlement before - for example there are problems attempting to use a CXCallDirectoryManager from within a notification service extension with this extension. Quote from Apple on the call extension issue: "Because that entitlement can "hide" notifications, its sandbox profile is actually more restrictive than the standard NSE sandbox. That's what's preventing access to CXCallDirectoryManager, not the App ID properties.  -Kevin Elliott DTS Engineer, CoreOS/Hardware" I'd be appreciative if somebody from Apple could comment and confirm if the problems with updating contacts with an image with this entitlement is the same fundamental sandboxing issue? If so, I don't understand why a contact can be added with this entitlement, its only an issue if the contact has an image, does that imply a bug?
1
0
1.1k
Sep ’22
vcf file not giving option to save contact is it default behaviour that have been changed in ios13
I have been using your one of package https://packagist.org/packages/jeroendesloovere/vcardto generate the vcf file to save the contact in phone contact and it was working fine earlier.but now I think there are something changes in ios13 or what but now when vcf file downloads in the iPhone it's not opening the correct screen.is there anything we can do to open up the screen with the save option
1
0
1.1k
Aug ’22
How to cache Contacts in iOS?
I want to check if my code to cache contacts data while my iOS app is running is done well or not. Anyone have any samples I can look at. I did a search on the internet and cannot find much. Maybe code to cache any time of cache would help for me to look at. I am using Xcode 13.4.1, and my app is intended to install on iOS 12.0 up to the most current iOS version. I seem to remember a search class in one of Apple's frameworks for iOS. I don't remember if that was part of the Contacts Framework. I also will have a cache for the Contacts data that I store in CloudKit, so I take that into account to be looking for any way that might make the Contacts cache and the CloudKit cache work together.
0
0
679
Aug ’22
a problem when subclassing CNContact using swift
Hello There; Using macOS 12.5 & Xcode 13.4 I am trying to subclass CNContact and bumping into an issue that I do not understand! class MyContact: CNContact { var newVariable :String = "" ... } I have loaded contactArray:[CNContact] now as I iterate over this array I would like to typecast the instance of CNContact to an instance of MyContact. for thisContact in contactArray { if let myK:MyContact = thisContact as? MyContact { //do something } } program flow simply never proceeds into the if let statement... if I try to force this issue: let myK:MyContact = thisContact as! MyContact I get the error: Could not cast value of type 'CNContact' (0x2057a35b8) to 'XYZ.MyContact' (0x102484490). Please help me accomplish my goal - what am I not understanding here? All help appreciated! Steve
1
1
958
Aug ’22
Sorting Contacts
I am using the Contacts API for my iOS app to fetch contacts. I currently sort the fetched contacts alphabetically, but was wondering if there is any ability to rank and sort them by "highest interaction" (i.e. scan iMessage or phone call log to prioritize contacts)? Any insight would be appreciated. I don't think this is possible via the Contacts API from what I've read, and I haven't found any existing answer commenting on this.
1
0
1k
Aug ’22
CNContacts framework issues
Hey everyone, I'm having trouble finding answers to a few things that the documentation seems to be a little sparse on. I've outlined 3 major ones below: Under what circumstances do contacts get unified automatically? I've tried creating duplicate contacts and adding duplicate contacts on different containers but they are never unified automatically. Is there a way to link contacts programmatically? Since the unification process doesn't seem to be consistent we're hoping to be able to do this programmatically. Can I add a CardDAV account programmatically? I want to make it easier for my users to add an external contacts account without telling them to go to Settings > Contacts > Accounts > Add Account > Other > etc. I've noticed the upcoming changes in the iOS Beta for contact management and cleanup. Do these include any more automation or detection for Unified Contacts?
1
0
607
Jul ’22
VCard File Photo URI Support
I love how Apple products will open up a VCF File in the Contacts App and import nearly all of the information successfully.However at the moment, the only format accepted for the PHOTO field is Base64.This can make for much larger VCF Files when the VCard Specification also includes an option for a Photo URI, allowing the data to be stored elsewhere and retrieved on opening of the VCard.It would be awesome if Apple Devices could recognize and retrieve Photos located at the VCF File's specified PHOTO URI Location to allow for more compact VCF files to be distributed in various formats.Here's an example of a VCard who's PHOTO option specifies a remote URI for the imageBEGIN:VCARDVERSION:3.0N:Gump;Forrest;;Mr.;FN:Forrest GumpORG:Bubba Gump Shrimp Co.TITLE:Shrimp ManPHOTO;TYPE=JPEG;VALUE=URI:https://upload.wikimedia.org/wikipedia/commons/8/87/My_Dog_%2861220578%29.jpegTEL;TYPE=WORK,VOICE:(111) 555-1212TEL;TYPE=HOME,VOICE:(404) 555-1212ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of AmericaLABEL;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUnited States of AmericaADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of AmericaLABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of AmericaEMAIL:forrestgump@example.comREV:2008-04-24T19:52:43ZEND:VCARDThank you!
6
3
12k
Jul ’22
You must complete the Contact Information section
Hello I have filled all contact info and I can't still Submit app for review. "Unable to Submit for Review The items below are required to start the review process: You must complete the Contact Information section." All mails and numbers have I right. Thank you
Replies
2
Boosts
0
Views
5.2k
Activity
Nov ’22
[iOS] Search LDAP contacts
I had a need to display and search for contacts from my LDAP server. Seems the most efficient solution is to connect my Device (Application Contact) with my LDAP server. And with the Contacts framework I will be able to fetch all Local contacts including my LDAP contacts. Is there a solution to know from the CNContact if this contact is among my LDAP Contacts or other (Local, iCloud,..) If you have another solution how to search on my LDAP contacts do not hesitate to suggest me. OpenDirectory is not available on iOS Thanks
Replies
0
Boosts
0
Views
1.2k
Activity
Nov ’22
adding address to contacts on macOS
Apple itself offers a nice piece of code for adding own addresses to "Contacts"-App. (see documentation for "Contacts" - Listing 1 Creating a contact) I try to use this code. But when executing this, my app crashes with error on saving the data. (see image) My code so far: import AppKit import Contacts class ContactsClass { func addToContacts( lastName: String, firstName: String, birthDate: Date?, mail: String = "", phone1: String = "", phone2: String = "", mobile: String = "", street: String, city: String, postCode: String ) { // Create a mutable object to add to the contact let contact = CNMutableContact() contact.givenName = firstName contact.familyName = lastName if mail != "" { let homeEmail = CNLabeledValue(label: CNLabelHome, value: mail as NSString) contact.emailAddresses = [homeEmail] } contact.phoneNumbers = [] if phone1 != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMain, value: CNPhoneNumber(stringValue: phone1))) } if phone2 != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMain, value: CNPhoneNumber(stringValue: phone2))) } if mobile != "" { contact.phoneNumbers.append(CNLabeledValue(label: CNLabelPhoneNumberMobile, value: CNPhoneNumber(stringValue: mobile))) } let homeAddress = CNMutablePostalAddress() homeAddress.street = street homeAddress.city = city homeAddress.postalCode = postCode contact.postalAddresses = [CNLabeledValue(label: CNLabelHome, value: homeAddress)] if birthDate != nil { let calendar = Calendar.current let dateComponents = calendar.dateComponents([.year,.month,.day], from: birthDate!) var birthday = DateComponents() birthday.day = dateComponents.day birthday.month = dateComponents.month birthday.year = dateComponents.year // (Optional) Omit the year value for a yearless birthday contact.birthday = birthday } // Save the newly created contact let store = CNContactStore() let saveRequest = CNSaveRequest() saveRequest.add(contact, toContainerWithIdentifier: nil) do { try store.execute(saveRequest) // <<-- Error appears here!! } catch { print("Saving contact failed, error: \(error)") // Handle the error } } } Console errors are: 2022-10-28 06:26:03.473439+0200 justCare[11808:992463] [api] Attempt to write notes by a pre-Fall-2022 app 2022-10-28 06:26:03.499714+0200 justCare[11808:992463] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-10-28 06:26:03.499770+0200 justCare[11808:992463] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-10-28 06:26:03.500823+0200 justCare[11808:992463] [ABCDContact] An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x600001f9bba0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs. Access to Contatcs is granted. Sandboxing is properly set for Contacts. So why this error now? Environment: macOS Ventura XCODE 14.0.1
Replies
3
Boosts
0
Views
987
Activity
Nov ’22
XCODE requesting access to save new contact Mac Catalyst
Im having trouble requesting access to save a new contact as of today with updating to Ventura 13.0 (22A380). Im requesting access to contacts using @IBAction func requestConactsAccess() {         CNContactStore().requestAccess(for: .contacts) { granted, error in             if granted {                 // Yes                 print("Granted")                 self.authStatusLabel.text = "Granted"             } else {                 // No                 print("Denied")                 self.authStatusLabel.text = "denied"             }         }     } But it is just being automatically denied. I can't save a contact either with an app that previously had permission. I created a small app to test this from scratch using the documentation "Working with the user’s contacts" https://developer.apple.com/documentation/contacts?language=objc I have been doing this since the first version of the app, Ive never had an issue Has something changed with regards to Requesting access to contacts in latest OS? https://developer.apple.com/documentation/contacts/requesting_authorization_to_access_contacts Thank you.
Replies
2
Boosts
0
Views
1.1k
Activity
Nov ’22
VALUE on call screen
Hi Everybody, while my colleaque call me from his iphone 12 Pro Max / ios 16.1(20B82) Screen has a unknown field "VALUE" is calling Does anybody have idea about what is the VALUE field? Thanks for the contribution
Replies
1
Boosts
0
Views
732
Activity
Nov ’22
Update "preferred line" for dual-SIM devices
I am developing an application which manages contacts on iDevices. One of the attributes of a contact I would like to update is the "preferred line", a SIM to be used when calling/texting the specified contact. I've studied all available APIs to update contacts, https://developer.apple.com/documentation/contacts, but unfortunately there seems to be no way of updating the attribute I need - "preferred line". Such functionality exists on the iOS Contacts application, but seems not exposed through the SDK. Have I missed it, and such functionality exists? If no, are there plans to add such support? Thanks in advance for your kind response.
Replies
0
Boosts
0
Views
985
Activity
Nov ’22
CNSaveRequest without having a container assignment
Hi, When creating a new contact on MacOS Im getting this new error causing my app to crash, on my app only after updating my machine to Ventura 13.0. The last error before (lldb) is "An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x6000039b51a0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs." When saving a new contact I’m using  saveRequest.add(contact, toContainerWithIdentifier: nil)             do {                 try contactsStore.execute(saveRequest) ** I guess it does not like the nil. Am I supposed to add to a particular container, like iCloud? Documentation says to set it to nil - https://developer.apple.com/documentation/contacts/cnsaverequest/1403036-add Even with the most basic example from https://developer.apple.com/documentation/contacts the save request falis.
Replies
4
Boosts
1
Views
1.8k
Activity
Oct ’22
Contacts inaccessible on iOS 16.1 for Widget Extensions
In iOS 15 and 16, once an app gave permission to access Contacts, Widgets (and Lock Screen Widgets in iOS 16) could access Contacts. 16.1 beta 1 and 2 apparently no longer allow this (and there appears to be no work around, as Widgets can't ask you for permission separately from the parent app). My app (Curmmunicate) in the App Store will fail if this doesn't get a fix as it relies on this feature. Have filed a report: FB11563817 (Contacts not accessible from Widgets in iOS 16.1 betas). Report includes an Xcode sample project showing the issue.
Replies
4
Boosts
1
Views
1.4k
Activity
Oct ’22
currentHistoryToken Across Devices
when a user changes devices, but each device is on the same iCloud account, does the currentHistoryToken supplied by CNFetchResult from the old device still work on the new device? or must we conduct a full analysis from scratch?
Replies
0
Boosts
0
Views
619
Activity
Sep ’22
How many local CNContainers are on any single iOS device?
Is there always only one local CNContainer on any iOS device whether the user is logged in to iCloud or not, and whether the device is an iPhone or an iPad?
Replies
0
Boosts
0
Views
660
Activity
Sep ’22
usernotifications.filtering entitlement prevents a contact with an image from being added/updated
My notification service extension has the com.apple.developer.usernotifications.filtering entitlement and it would appear that this is preventing a contact with an image from either being added or updated, any attempt to do so results in calls to CNContactStore.execute() throwing an CNInvalidRecords error. If the filtering entitlement is removed then there are no problems and the contact can be added/updated without problem. If the entitlement is present but the contact is added/updated without an image then it is also problem free. It is specifically adding a contact with an image that cannot be accomplished if the entitlement is present. I've encountered problems with this entitlement before - for example there are problems attempting to use a CXCallDirectoryManager from within a notification service extension with this extension. Quote from Apple on the call extension issue: "Because that entitlement can "hide" notifications, its sandbox profile is actually more restrictive than the standard NSE sandbox. That's what's preventing access to CXCallDirectoryManager, not the App ID properties.  -Kevin Elliott DTS Engineer, CoreOS/Hardware" I'd be appreciative if somebody from Apple could comment and confirm if the problems with updating contacts with an image with this entitlement is the same fundamental sandboxing issue? If so, I don't understand why a contact can be added with this entitlement, its only an issue if the contact has an image, does that imply a bug?
Replies
1
Boosts
0
Views
1.1k
Activity
Sep ’22
How to fetch all contact on MacOS ?
Hello folks, I'm trying to fetch all contact from MacOS using the contact frameworks, but the documentation doesn't explain how to do it. So i'm searching for code in Swift or Objective-C (or anything else) to accomplish that.
Replies
3
Boosts
1
Views
1.2k
Activity
Sep ’22
vcf file not giving option to save contact is it default behaviour that have been changed in ios13
I have been using your one of package https://packagist.org/packages/jeroendesloovere/vcardto generate the vcf file to save the contact in phone contact and it was working fine earlier.but now I think there are something changes in ios13 or what but now when vcf file downloads in the iPhone it's not opening the correct screen.is there anything we can do to open up the screen with the save option
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’22
How to cache Contacts in iOS?
I want to check if my code to cache contacts data while my iOS app is running is done well or not. Anyone have any samples I can look at. I did a search on the internet and cannot find much. Maybe code to cache any time of cache would help for me to look at. I am using Xcode 13.4.1, and my app is intended to install on iOS 12.0 up to the most current iOS version. I seem to remember a search class in one of Apple's frameworks for iOS. I don't remember if that was part of the Contacts Framework. I also will have a cache for the Contacts data that I store in CloudKit, so I take that into account to be looking for any way that might make the Contacts cache and the CloudKit cache work together.
Replies
0
Boosts
0
Views
679
Activity
Aug ’22
a problem when subclassing CNContact using swift
Hello There; Using macOS 12.5 & Xcode 13.4 I am trying to subclass CNContact and bumping into an issue that I do not understand! class MyContact: CNContact { var newVariable :String = "" ... } I have loaded contactArray:[CNContact] now as I iterate over this array I would like to typecast the instance of CNContact to an instance of MyContact. for thisContact in contactArray { if let myK:MyContact = thisContact as? MyContact { //do something } } program flow simply never proceeds into the if let statement... if I try to force this issue: let myK:MyContact = thisContact as! MyContact I get the error: Could not cast value of type 'CNContact' (0x2057a35b8) to 'XYZ.MyContact' (0x102484490). Please help me accomplish my goal - what am I not understanding here? All help appreciated! Steve
Replies
1
Boosts
1
Views
958
Activity
Aug ’22
Sorting Contacts
I am using the Contacts API for my iOS app to fetch contacts. I currently sort the fetched contacts alphabetically, but was wondering if there is any ability to rank and sort them by "highest interaction" (i.e. scan iMessage or phone call log to prioritize contacts)? Any insight would be appreciated. I don't think this is possible via the Contacts API from what I've read, and I haven't found any existing answer commenting on this.
Replies
1
Boosts
0
Views
1k
Activity
Aug ’22
CNContacts framework issues
Hey everyone, I'm having trouble finding answers to a few things that the documentation seems to be a little sparse on. I've outlined 3 major ones below: Under what circumstances do contacts get unified automatically? I've tried creating duplicate contacts and adding duplicate contacts on different containers but they are never unified automatically. Is there a way to link contacts programmatically? Since the unification process doesn't seem to be consistent we're hoping to be able to do this programmatically. Can I add a CardDAV account programmatically? I want to make it easier for my users to add an external contacts account without telling them to go to Settings > Contacts > Accounts > Add Account > Other > etc. I've noticed the upcoming changes in the iOS Beta for contact management and cleanup. Do these include any more automation or detection for Unified Contacts?
Replies
1
Boosts
0
Views
607
Activity
Jul ’22
VCard File Photo URI Support
I love how Apple products will open up a VCF File in the Contacts App and import nearly all of the information successfully.However at the moment, the only format accepted for the PHOTO field is Base64.This can make for much larger VCF Files when the VCard Specification also includes an option for a Photo URI, allowing the data to be stored elsewhere and retrieved on opening of the VCard.It would be awesome if Apple Devices could recognize and retrieve Photos located at the VCF File's specified PHOTO URI Location to allow for more compact VCF files to be distributed in various formats.Here's an example of a VCard who's PHOTO option specifies a remote URI for the imageBEGIN:VCARDVERSION:3.0N:Gump;Forrest;;Mr.;FN:Forrest GumpORG:Bubba Gump Shrimp Co.TITLE:Shrimp ManPHOTO;TYPE=JPEG;VALUE=URI:https://upload.wikimedia.org/wikipedia/commons/8/87/My_Dog_%2861220578%29.jpegTEL;TYPE=WORK,VOICE:(111) 555-1212TEL;TYPE=HOME,VOICE:(404) 555-1212ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of AmericaLABEL;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUnited States of AmericaADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of AmericaLABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of AmericaEMAIL:forrestgump@example.comREV:2008-04-24T19:52:43ZEND:VCARDThank you!
Replies
6
Boosts
3
Views
12k
Activity
Jul ’22
How to integrate with iOS Spotlight contact search?
How to make your app show up in Spotlight’s video call option under contact search? As shown in the attached screenshot. Any tutorial is appreciated.
Replies
0
Boosts
0
Views
829
Activity
Jul ’22
Is it possible to add support for contacts "Found in..." to my app?
In the contacts app there are contacts included that include "Siri found in Mail". I have an app that includes a directory of contact information. Is it possible to include contacts found in my app to the system?
Replies
0
Boosts
0
Views
695
Activity
Jun ’22