打印cell的视图层次结构

1 #ifdef DEBUG
2   NSLog(@"Cell recursive description:

%@

", [cell performSelector:@selector(recursiveDescription)]);
3 #endif
这是个私有方法
原文地址:https://www.cnblogs.com/wustlj/p/3696529.html