cncontact Questions
3
I can't seem to figure out how to grab a users "My Card" from contacts. I am developing a native Mac application using swift.
1
I would like to store data in the contact store that is part of CNContact. Is there a property of NSObject or CNContact that I can store the contents of a Data structure or NSDate object? I would l...
Jarad asked 27/9, 2022 at 0:43
5
Solved
I have an iOS app which needs access to the Contacts picker view controller in order to allow the user to select a contact property such as email address/ telephone numbers of imessage email addres...
Monongahela asked 11/10, 2015 at 12:32
3
Questions:
How to get the last modified date in CNContact (new apple contacts framework) ?
The last modified date is not present in the list of keysToFetch
I would like to fetch and update contac...
2
I want get all new added contact Identifier.
Here is my code :
-(void)viewWillAppear:(BOOL)animated {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(addressBookDidC...
1
The Apple documentation suggests using CNPostalAddressFormatter to display addresses as a formatted string, which helps immensely with internationalization.
This code:
let postalString = CNPostal...
Circumscissile asked 9/12, 2018 at 22:33
8
Solved
I am aware of the ios swift has a Contacts Framework where I can fetch contacts, but I cannot find any method to fetch all the contacts together where I can access each of the contacts from that ar...
1
My iOS application checks the contacts from time to time and imports a new one to its own database.
I checked that contact and it already exists by the identifier field, that is usually filled by U...
Mcroberts asked 29/12, 2016 at 12:37
1
I try to present a CNContactPickerViewController inside a SwiftUI application using the UIViewControllerRepresentable protocol. As I already read, there seems to be a known issue for this not worki...
2
Solved
I've read official apple documentation about sorting contacts, although I am not sure how to implement it.
So, here is fetch request:
let fetchRequest = CNContactFetchRequest(keysToFetch: keysToFe...
1
I'm trying to remove redundancy of URLs to my application. This works well, if a single contact has several URLs. But if there are linked contacts, typically save operation fails with the message
"...
7
This seems to be specific to iOS 13.1, as it works as expected on iOS 13.0 and earlier versions to add a contact in CNContactViewController, if I 'Cancel', the action sheet is overlapping by keyboa...
Unhorse asked 1/10, 2019 at 6:3
4
Solved
I am using iOS 9 and Swift 2.2
I have implemented iOS inbuilt CNContactPickerViewController using CNContactPickerDelegate to get the contact numbers,
In the CNContactPickerViewController Screen,...
Platonic asked 1/7, 2016 at 11:11
3
Solved
I have an app that has worked perfectly well with the CNContacts framework all the way up to IOS 12. I'm currently testing it with IOS 13 beta and its completely broken. I've checked the contacts p...
Caroleecarolin asked 10/8, 2019 at 12:22
4
Solved
I have an API that returns phone numbers in format: +1415xxxxxxx (E164)
Right now these numbers are put into a Cell of a UITableView and are presented as expected, however I'd like to be able to s...
Jayme asked 12/4, 2016 at 19:43
3
Solved
I'm trying to insert into var contacts: [CNContact] = []
the var store = CNContactStore() but I did not find the right code for this job, i found this function that I need to give that a name
fun...
3
I am working on Call directory extension with callkit.
I selected Call directory extension for debug and when I run this target, no NSLog is shown.
How can I debug this extension?
ps : When I ru...
3
Solved
"Create New Contact" and "Add to Existing Contact" for CNContactViewController()
With ABAddressBook, when I wanted the user to be able to have the options of "Create New Contact" and "Add to Existing Contact" for a contact they hadn't seen before, I would create and present an ...
2
Solved
There is an odd error in my application that I can't find any workarounds/fixes for. For some reason, I'm able to save an address to a contact that isn't unified with a social profile (Facebook, Tw...
2
I need the identifier of a newly created contact directly after the save request. The use case: Within my app a user creates a new contact and give them some attributes (eg. name, address ...) afte...
Behind asked 18/6, 2016 at 10:41
4
Solved
Can any one please guide me ? Is it possible to open contact screen programmatically in iOS (swift)
Gwenngwenneth asked 18/5, 2017 at 11:5
2
Solved
I don't know if this question qualifies to be here or not, but even after so much of research, I could not find a suitable guide for this question. I hope I get an answer here.
I see that all the ...
Chondro asked 25/10, 2017 at 9:11
1
Solved
I am trying to use the CNContactPickerViewController and keep running into issues with how to pick multiple properties from a single contact
Basic display of the picker
let contactStore = CNCont...
Robustious asked 11/5, 2018 at 1:57
3
In Contact apps there's group like "iCloud", "yahoo", "gmail". In swift, is it possible to fetch contact from gmail source only?
Shutin asked 8/8, 2016 at 9:38
3
I am able to observe the CNContactStoreDidChangeNotification when the contact database is changed while the app is in background state. I am pretty sure that only one observer was added to NSNotifi...
Gomar asked 1/1, 2016 at 22:16
1 Next >
© 2022 - 2025 — McMap. All rights reserved.