开发者

ABRecordID for a record in addressbook(unique id for inserted record in addressbook)

开发者 https://www.devze.com 2022-12-15 00:19 出处:网络
I got stuck while adding records to contacts of iphone. Situation is this I have a view in which contacts are created and inserted to c开发者_开发知识库ontacts of iphone.

I got stuck while adding records to contacts of iphone.

Situation is this I have a view in which contacts are created and inserted to c开发者_开发知识库ontacts of iphone.

What I want is

Is there a way to find some unique ID of the (record) contact which is inserted. Which will be required to access the contacts in some other view.

Please enlighten me on this.


When you insert a new record in the AddressBook, the record is automatically assigned an ABRecordID that you can retrieve using

ABRecordID ABRecordGetRecordID (
   ABRecordRef record
);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号