What should the return type be?
ABRecordCopyVa开发者_JS百科lue(thisPerson, kABPersonAddressProperty);
thisPerson is ABRecordRef
Thanks
Just do:
NSLog(@"%@",[ABRecordCopyValue(thisPerson, kABPersonAddressProperty) class]);
And that should tell you what class is being returned.
According to the documentation, the return type is CFTypeRef
The iOS documentation says: CFTypeRef - or do I get you wrong?
Regards Chris
精彩评论