在我的应用程序中,我正在创建一个 ABRecordRef 实例并创建一个新联系人。所以我尝试了这些代码行来设置社交资料 iD
ABMutableMultiValueRef fbvalue = ABMultiValueCreateMutable(kABMultiStringPropertyType);
ABMultiValueAddValueAndLabel(fbvalue, (__bridge CFTypeRef)[linedevidebydel objectAtIndex:linedevidebydel.count - 1], kABPersonSocialProfileServiceFacebook, NULL);
ABRecordSetValue(newPerson, kABPersonSocialProfileProperty, fbvalue,nil);
CFRelease(fbvalue);
但在最后一行出现错误
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString count]: unrecognized selector sent to instance 0x17631380'
任何人都可以帮助我...提前谢谢你