@interfaceViewController()@property(strong,nonatomic)WeakView*weakView;@endWeakView*view=[[WeakViewalloc]init];[self.viewaddSubview:view];self.weakView=view;NSLog(@"count:---%ld",CFGetRetainCount((__bridgeCFTypeRef)_weakView));NSLog(@"count:---%ld",CFGetRetainCount((__bridgeCFTypeRef)self.weakView));为什么打印是3和4
添加回答
举报
0/150
提交
取消