如何将NSCFString转换为NSString?
我尝试使用以下方法检索电话号码:
NSArray *phoneArray = (__bridge NSArray *)ABMultiValueCopyArrayOfAllValues(phoneProperty);
if ([phoneArray count] > 0) {
if ([phoneArray count] > 1) {
phone = [NSString stringWithFormat:@"%@", [phoneArray objectAtIndex:0]];
}else {
phone = [NSString stringWithFormat:@"%@", [phoneArray objectAtIndex:0]];
}
}
当我尝试显示数字时,我的特殊字符显示为“\ U0000202a”:
Number_phone __NSCFString * @“\ U0000202a + 33 0 00 00 00 00 \ U0000202c”0x0000000170a77c40