How do I know which CNContainer represents iCloud?

Also asked on the Apple dev forums .

Its type is CNContainerType.CardDAV.

In my testing, his name is "Card". Is it universal?

+3
ios contacts
source share
1 answer

The contact structure does not provide information about whether a particular iCloud container matches. You are guaranteed that if the iCloud container is present, it will be of the CardDAV type. Otherwise, you do not know. If you need more and you have a good use case, write a bug report with Apple.

+2
source share

All Articles