What should the return type be?

161 views Asked by At
ABRecordCopyValue(thisPerson, kABPersonAddressProperty);

thisPerson is ABRecordRef

Thanks

3

There are 3 answers

0
edc1591 On BEST ANSWER

Just do:

NSLog(@"%@",[ABRecordCopyValue(thisPerson, kABPersonAddressProperty) class]);

And that should tell you what class is being returned.

0
jsadfeew On

According to the documentation, the return type is CFTypeRef

0
Chris On

The iOS documentation says: CFTypeRef - or do I get you wrong?

Regards Chris