在 arc里面打印 引用计数的方法
查阅资料:
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));