IOS CFStringRef和NSString之间的转换
2015-08-06 本文已影响4953人
zuolingfeng
找了半天,没有找到,结果在stackoverflow网站找到.
很简单:
Typically NSString *yourFriendlyNSString = (__bridge NSString *)yourFriendlyCFString;
and
CFStringRef yourFriendlyCFString = (__bridge CFStringRef)yourFriendlyNSString;