查阅资料:
You can use CFGetRetainCount with Objective-C objects, even under ARC:
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));
时间: 2025-01-03 08:28:33
查阅资料:
You can use CFGetRetainCount with Objective-C objects, even under ARC:
NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));