This no longer results in a crash. I get the following message in the console, when multiple elements have the id as nil inside a List.
ForEach<Array<ArrayData>, Optional<Int>, Text>: the ID nil occurs multiple times within the collection, this will give undefined results!
Make sure the identifiers are unique, if not multiple views will look the same but it will not crash.
Post
Replies
Boosts
Views
Activity
In case anyone is still looking, this is now possible via CNContactStore using this unifiedMeContactWithKeys(toFetch:) method. Supported in all apple platforms.