saintmac
saintmac

Reputation: 589

iPhone addressbook: avoiding duplicates

I'm working on a iPhone contacts management app. A user reported that all of his contacts were duplicated. When he selects a specific source the contacts are not duplicated though. Apparently this is because his addressbook is synced twice: with iTunes on his PC, and with Exchange over the air.

Do you guys have any idea of how I could get rid of the duplicates? I don't think that the recordIDs are the same, and filtering by name doesn't look like a good idea :)

Thanks!

Upvotes: 4

Views: 1756

Answers (1)

SVD
SVD

Reputation: 4753

Check out ABPersonCopyArrayOfAllLinkedPeople - it'll give you the records that were merged together.

Upvotes: 3

Related Questions