Questions tagged [cncontactviewcontroller]
81 questions
13
votes
7 answers
Keyboard overlaying action sheet in iOS 13.1 on CNContactViewController
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 keyboard. No actions getting performed and keyboard is…

mounika 582
- 140
- 7
12
votes
4 answers
How to open New Contact Screen Directly?
Can any one please guide me ? Is it possible to open contact screen programmatically in iOS (swift)

Bucket
- 449
- 3
- 20
8
votes
1 answer
XCode8 Swift3 - Problems with open contact list and retrieve data by click
Currently I'm developing my first iOS App and I'm a little slow and rude about the code (it's so weird and different from java) and, if this was the only problem, with the new update, Xcode is making my code insane. I think I solved most of the…

Izahal
- 93
- 8
7
votes
2 answers
CNContacts framework possible bug with phone identifier?
Recently I have switched from old ABAddressBook framework to new CNContacts. In my project I synchronize contacts from native with my own core data contacts. For this I use contact identifier and phone identifiers to synchronize phone numbers.
But I…

MegaManX
- 8,766
- 12
- 51
- 83
5
votes
1 answer
CNContactViewController New Contact cancel button flashing
In iOS CNContactViewController -> Add New Contact screen, when user starts typing text in any field e.g (First Name, Last Name or Company etc) cancel button is continuously flashing as soon text changes.
I don't want flash/flick animation of cancel…

Shahbaz Abbasi
- 199
- 8
5
votes
1 answer
Contact identifier returns with ABPerson suffix
I am adding contact using Native CNContactViewController and once contact saved it returns contact's identifier with ':ABPerson' suffix and when I cross check in contact list same contact appears with different identifier.
Does anyone know how to…

R.S.
- 51
- 4
5
votes
2 answers
CNContactViewController hiding navigation bar
When I push a CNContactViewController on to the stack of UITableViewController subclass which is within a UINavigationController, the top navigation bar is almost entirely hidden. But with the brightness all the way up, you make out the back arrow…
user6168494
4
votes
2 answers
SwiftUI - CNContactViewController NavigationBar problem
I am trying to implement CNContactViewDelegate to be able to show detail of the CNContact. And apparently, I am the first one to implement it with SwiftUI and getting problems. Anyway, I can see the detail of CNContact with using…

Faruk
- 2,269
- 31
- 42
4
votes
1 answer
Hide action's buttons in contact details when I use CNContactPicker
I use CNContactPickerViewController and I want to hide actions buttons (call, message, facetime) from contact's detail.
I know about allowActions property in CNContactViewController, but I don't know, how I can get access to this property, if I use…

Artem
- 83
- 1
- 6
4
votes
6 answers
CNContactViewController navigation bar different between versions
Our tint color is white. Our app uses CNContactViewController. In our version of the app in the store built with Xcode 7 targeting iOS 8 and 9, if you were iOS 9 we called CNContactViewController. The back button is white but has a gray…

Jason Hocker
- 6,879
- 9
- 46
- 79
4
votes
1 answer
Present EditView of Contacts in ContactsUI
I have a TableView that present a contact.
When I click the cell i would like to do straight to Editable view, instead of going to the CNContactViewController and press "edit Button".
Now i have the following :
firstview
secondview
I would like…

Rafael Fernandes
- 100
- 8
3
votes
1 answer
CNContactViewControllerDelegate not called when using the Coordinator pattern in SwiftUI
I've been grinding on this issue for quite a few days now and it seems like SwiftUI's relative "newness" doesn't seem to help me with this.
My gut feeling is that I'm somehow using CNContactViewControllerDelegate wrong but both Apple's documentation…

Tim
- 43
- 2
- 8
3
votes
2 answers
SwiftUI: Open CNContactViewController from NavigationView?
I'm trying to open CNContactViewController for creating a new contact from a NavigationView. So far this is what I've tried and failed:
Added a navigation bar item and set the destination
.navigationBarItems(trailing:
…

Arjun Komath
- 2,802
- 4
- 16
- 24
3
votes
0 answers
Not able to change profile picture in CNContactViewController forNewContact, When contact is already present in phone contacts
I am trying to add a new contact from my app with a profile picture, that contact number is already present in my mobile phonebook with other profile picture. CNContactViewController does not show the image that I formed in CNMutableContact.
It only…

Elangovan
- 1,158
- 1
- 9
- 26
3
votes
1 answer
Display CNContactPickerViewController in Container View?
I'm currently updating an old Xcode project I started working on a long time ago. I updated the deployment target to iOS 10.0 so I was forced to replace the ABAddressBook framework with Contacts framework. I used to present the…

Mark Carols
- 403
- 4
- 20