Contacts

RSS for tag

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

Contacts Documentation

Posts under Contacts tag

46 Posts
Sort by:
Post not yet marked as solved
0 Replies
528 Views
In the WWDC, there was a mention of the CallKit framework that it would be possible for 3rd party VoIP apps to create Posters programmatically. However, there are no new methods around this in the CallKit framework. Are we missing something?
Posted
by knakul.
Last updated
.
Post not yet marked as solved
0 Replies
493 Views
Hi! Every One. I want to get user's name, image data on iPhone I had two solution. but all of that failed. First, I access Contacts, And then get just only my card. but cannot get my card. There is no idea that which is my card among all contacts. (CNContact.predicateForContacts(withIdentifiers:)) Second, I login with AppleID, And then get name and image data associated with AppleID. But I cannot get image data. (ASAuthorizationAppleIDCredential) Could you help me?
Posted
by saint_Kim.
Last updated
.
Post not yet marked as solved
1 Replies
438 Views
Hi Team pls help with this cuz we've been stucking in the contact thing like a month...and we cant get any further progress. We have wrote like 10 emails with our phone numbers but still got no calls at all.
Posted
by buffalosa.
Last updated
.
Post not yet marked as solved
0 Replies
317 Views
I use CNContactStore enumerateContacts to read all contacts, https://fburl.com/9plmcenx Surprisedly, I cannot get contacts synced from Microsoft Office 365 using this API from debug build, release build works. I am wondering what might be the reason? Contacts synced from gmail, or saved locally are read fine in both debug build and release build.
Posted
by x7ma.
Last updated
.
Post not yet marked as solved
0 Replies
460 Views
Without exception, every single code example/tutorial for adding a contact group uses a nil container value i.e. the toContainerWithIdentifier parameter is nil, as below. I've not been able to find an example usage where it isn't nil. let group = CNMutableGroup() group.name = "whatever" let saveRequest = CNSaveRequest() saveRequest.add(group, toContainerWithIdentifier: nil) do { try store.execute(saveRequest) } catch { handle error } I've been running this code and 99.9% of the time it works as expected. However on one handset the catch is being executed with Error Domain=CNErrorDomain Code=207 "Container is read-only" How should I deal with this? How can I find out what container it is being added to? Why would it be read only? If nil means add to the default container, why is the default container in this case read only? How can I change the code that it will always run on every device? I've not been able to find any examples/tutorials for creating a custom container to which the group can be added.
Posted
by mungbeans.
Last updated
.