Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道可以使用 UIAutomator 访问您拥有相应密钥/证书的给定视图/应用程序的视图层次结构;但是,有没有办法访问您无权访问 Xcode 项目的应用程序的视图层次结构?比如那些安装在测试设备上的?
AFAIK 您可以运行,因此可以访问视图层次结构,只能访问您的应用程序或任何 iOS 系统应用程序,例如联系人。
要访问第三方应用程序的视图层次结构,您可以查看这篇文章,但是您需要越狱您的设备并使用Reveal。据我所知,没有其他方法可以做到这一点。