开发者

What should the return type be?

开发者 https://www.devze.com 2023-02-25 14:59 出处:网络
ABRecordCopyVa开发者_JS百科lue(thisPerson, kABPersonAddressProperty); thisPerson is ABRecordRef ThanksJust do:
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

0

精彩评论

暂无评论...
验证码 换一张
取 消