
您可以从Xcode中的检查器获取所选视图的内存地址,然后使用控制台使用-nextResponder获取视图的视图控制器.
http://developer.apple.com/library/ios/documentation/uikit/reference/UIResponder_Class/Reference/Reference.html#//apple_ref/occ/instm/UIResponder/nextResponder
总结UIVIEw implements this method by returning the UIVIEwController object that manages it (if it has one) or its supervIEw (if it doesn’t)
以上是内存溢出为你收集整理的ios – Xcode Debug View Hierarchy查找viewcontroller全部内容,希望文章能够帮你解决ios – Xcode Debug View Hierarchy查找viewcontroller所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)