0

Is there any way to get the group of a contact in the address book?

I can get all the info about a contact, but I can't find out how to get the group.

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
88fsantos
  • 393
  • 1
  • 7
  • 22

1 Answers1

1

I don't know if u might get group of a contact but u can know a contact is of group type or not by this or refer link:

 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.
Paresh Navadiya
  • 38,095
  • 11
  • 81
  • 132