Saving Contact Address to Unified Contact results in (CNErrorDomain error 500)
Ok, so I have gotten a response from Apple and this behavior is intended. Developers should detect this policy violation and then offer to create a new contact and then link the two contacts.
Company field when enumerating contacts through CNContactStore
The key is CNContactOrganizationNameKey
.
The confusion comes from the fact that the Contacts app (in all iOS, iPadOS and macOS) use the word company while the key refers to it as organization, making it hard to find through auto-complete in Xcode, or when searching for it in Google or Stack Overflow.
Related Topics
How to Execute a Function in a Uiviewcontroller Through a Swiftui Button
How to Eliminate the Margin on the Left Side of a Uitableview, Without Creating a Gap on the Right
How to Fill a Circle Color by Percentage Value
(Swift Spritekit) Rotate Sprite in the Direction of Touch
iOS Swift 2 Record Video Avcapturesession
Swift - Uipopovercontroller in iOS 8
Cannot Convert Value of Type 'String.Type' to Expected Argument Type 'String!'
Navigation with Only Back Button and Transparent Background
Swift Spritekit Playing Audio in the Background
Transition Delegate for Uitabbarcontroller Animation
How to Hide API Keys in Github for iOS (Swift) Projects
Show Bounding Box While Detecting Object Using Arkit 2
Playing an Audio File Repeatedly with Avaudioengine
Disable Vertical Scroll in Uiscrollview Swift