How to register ContactProviderDomain

Hi there,

we are implementing the new ContactProviderExtension introduced in iOS 18 and we are able to activate the extension, add data and everything.

But we want to add domains to seperate contacts and currently we are getting an error "ContactProvider.ContactProviderError.domainNotRegistered".

That makes sense because in the API docu we are not finding a way to register our domains. We are using ContactProviderDomain to create domains but we are not able to find any function to register.

Could you please give a hint?

Thank you

We are using ContactProviderDomain to create domains but we are not able to find any function to register.

That is expected. The ContactProvider framework doesn't support registering custom domains.

If you would like for Apple to consider adding support for such features, please submit your suggestion request via Feedback Assistant (https://feedbackassistant.apple.com). For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting.

How to register ContactProviderDomain
 
 
Q