可以使用CFGetRetainCount在ARC下获取对象的引用计数值: NSLog(@"Retain count is %ld", CFGetRetainCount((__bridge CFTypeRef)myObject));