how do I determine if the contact is the same contact since there is no identifier/primary key that I could use as a reference?
-
If I use the “Name” as a reference, there might be two names that is the same or the name might change.
-
If I use the “Name” + “mobile number” as the reference, then if the mobile number changes, then I will have two records for the same person.
What to do now?
I’m assuming you are using the AddressBook framework.
ABRecord has the
uniqueIdproperty you can use for this.