UIDebuggingTool
A tool to enable UIDebuggingInformationOverlay for iOS 10 & 11 & 12 & 13.
Install
copy source files
- Copy UIDebuggingInformationOverlay+Enable.m, UIDebuggingTool.h, UIDebuggingTool.m to your project.
pod
pod 'UIDebuggingTool'
Usage
- Just shake your phone to show UIDebugging view.
WARNING
- It will hold the window displayed on the page of Current Window, after entering this page. (ripperhe reported this problem)
- Workaround:
- Pick up a system default window on the page of Current Window.
- Go back to the page of View Hierarchy, pull down to refresh this page.
安装
使用pod引入 UIDebuggingInformationOverlay+Enable.m, UIDebuggingTool.h, UIDebuggingTool.m 文件
pod 'UIDebuggingTool'
使用方法
- 摇晃手机即可显示系统的UI调试界面。
- 更多的使用方法见iOS自带悬浮窗调试工具使用详解
警告
- 在进入Current Window页面后,在该页面显示的window会被该工具持有。(该问题由ripperhe报告)
- 解决办法:
- 在Current Window页面选择一个系统的window;
- 返回到View Hierarchy页面,下拉刷新。