有没有办法让地址簿中的联系人小组?
我可以获得有关联系人的所有信息,但我无法了解如何获得该群组。
答案 0 :(得分:1)
我不知道您是否可以获得联系人群组,但您可以通过此或refer链接了解联系人是否属于群组类型:
ABRecordGetRecordType : Returns the type of a record.
ABRecordType ABRecordGetRecordType (
ABRecordRef record
);
Parameters : record
The record whose type is being returned.
Return Value : The record type of record:
kABPersonType for person records
kABGroupType for group records.
kABSourceType for source records.