查阅资料:
You can use CFGetRetainCount with Objective-C objects, even under ARC:
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));
查阅资料:
转载于:https://www.cnblogs.com/daomul/p/4728617.html