CFDataRef转NSData

CFDataRef test;
NSData * data = (__bridge NSData*) test;

原文地址:https://www.cnblogs.com/xiao-xiao-/p/14265567.html