Currently I do:
if #available(iOS 10.0, *) {
CKContainer.default().discoverUserIdentity(withEmailAddress: "barteks****@icloud.com") { identity, error in
print(error?.localizedDescription)
print(identity)
}
}
the result is:
nil
nil
I am pretty sure that following address exists, because it is mine. Why it prints nil?
I follow this tutorial and got stuck with Look up via phone chapter.
What do I try to do?
I would like to share some records with other user. But first I need to somehow determine that user. Is it correct?