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.
您可以使用 UIAutomation 仪器访问 iPad 设备设置吗?我可以使用 deactivateAppForDuration,但这不允许我退出应用程序导航到设置页面、更改设置,然后导航回应用程序并继续。
有什么建议吗?
不,你现在不能自动化目标应用程序之外的任何东西。当您的应用程序离开前台时,自动化工具会失去控制,直到它返回(如果至少这样做的话)。