I am able to retrieve properties from an ABRecord easily.
Ie:
NSString *firstName = (NSString *)ABRecordCopyValue(person, kABPersonFirstNameProperty);
But I am struggling to find a way to retrieve the value of CFStringRef constants from the record.
For instance, how would I assign an NSString to the value of the person records kABPersonFatherLabel? (Ie the records fathers/mother name label)
Thanks for any assistance
Nevermind, i've found the solution. For anyone else looking for a solution, see below:
You can then access the values from the dictionary by passing the CFStringRef constants (after casting to NSString)
NSString *father = [dic objectForKey:(NSString *)kABPersonFatherLabel];NSLog( @"%@", father );