先要趴UI层级看个究竟 可以用系统的recursiveDescription
方法
- 打印当前View的层级
po [[self view] recursiveDescription]
- 打印所有的UI层级
po [[[[UIApplication sharedApplication] windows] objectAtIndex:0] recursiveDescription]
recursiveDescription
方法po [[self view] recursiveDescription]
po [[[[UIApplication sharedApplication] windows] objectAtIndex:0] recursiveDescription]