objective-ciosabaddressbookabrecordabrecordref

What should the return type be?


ABRecordCopyValue(thisPerson, kABPersonAddressProperty);

thisPerson is ABRecordRef

Thanks


Solution

  • Just do:

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

    And that should tell you what class is being returned.