iPhone地址簿:避免重复
我正在开发 iPhone 联系人管理应用程序。一位用户报告说,他的所有联系人都是重复的。当他选择特定来源时,联系人不会重复。显然,这是因为他的地址簿同步了两次:与 PC 上的 iTunes 同步,以及通过无线方式与 Exchange 同步。
你们知道我如何摆脱重复项吗?我不认为 recordID 是相同的,并且按名称过滤看起来不是一个好主意:)
谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 ABPersonCopyArrayOfAllLinkedPeople - 它会为您提供合并在一起的记录。
Check out ABPersonCopyArrayOfAllLinkedPeople - it'll give you the records that were merged together.