找了半天,没有找到,结果在stackoverflow网站找到.
很简单:
Typically NSString *yourFriendlyNSString = (__bridge NSString *)yourFriendlyCFString;
and
CFStringRef yourFriendlyCFString = (__bridge CFStringRef)yourFriendlyNSString;
找了半天,没有找到,结果在stackoverflow网站找到.
很简单:
Typically NSString *yourFriendlyNSString = (__bridge NSString *)yourFriendlyCFString;
and
CFStringRef yourFriendlyCFString = (__bridge CFStringRef)yourFriendlyNSString;
本文标题:IOS CFStringRef和NSString之间的转换
本文链接:https://www.haomeiwen.com/subject/yyhbqttx.html
网友评论