查阅资料:
You can use CFGetRetainCount with Objective-C objects, even under ARC:
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));
时间: 2024-10-29 19:06:25
查阅资料:
You can use CFGetRetainCount with Objective-C objects, even under ARC:
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));