I know that NSStringthey CFStringare a paid bridge, they can convert in this way.
CFStringRef cfStr;
NSString* anStr=(NSString*)cfStr;
however, when I convert the string in this case when working with the address book
NSString* homeLabel=(NSString*)kABWorkLabel;
then homeLabel "_$!<Work>!$_"; the other one predefined CFStringRefin the address book property is the same.
in my program, I want to get both the label and the label information.
NSString* label=ABMultiValueCopyLabelAtIndex(multi,i);
so how to get the label string correctly?
source
share