Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在向 iphone 的联系人添加记录时卡住了。
情况是这样的,我有一个视图,其中创建了联系人并将其插入到 iphone 的联系人中。
我想要的是
有没有办法找到插入的(记录)联系人的一些唯一 ID。在其他视图中访问联系人将需要它。
请赐教。
当您在 AddressBook 中插入一条新记录时,该记录会自动分配一个 ABRecordID,您可以使用它来检索它
ABRecordID ABRecordGetRecordID ( ABRecordRef record );