如何查看一个对象的RetainCount: printf("Retain Count = %ld\n",CFGetRetainCount((__bridge CFTypeRef)(obj))); 复制代码