doorxp-blog

doorxp.com

XCode lldb 调试 po命令

1) 打印出完整的视图层次结构

po [[UIWindow keyWindow] recursiveDescription]

2)检查视图控制器

po [[[UIWindow keyWindow] rootViewController] _printHierarchy]

发表评论:

Powered By Z-BlogPHP 1.5.1 Zero

Copyright doorxp.com Rights Reserved.