简体   繁体   English

iPhone UI自动化

[英]Iphone UI Automation

嗨,使用新的UIAutomation API可以使应用程序中的UI自动化,我的问题是是否可以针对内置应用程序完成操作,或者更精确地说,可以使用UIAutomation API完成/结束语音通话或发送短信

Additionally I would check Intsruments documentation, as in one of documents apple says: 另外,我会检查Intsruments文档,就像苹果所说的其中一个文档一样:

Note: For your protection, the instrument does not allow you to process any application that is not code-signed with your provisioning profile. 注意:为了保护您的利益,该工具不允许您处理任何未使用配置文件进行代码签名的应用程序。 This includes any copy that has been downloaded from the iTunes App Store. 这包括从iTunes App Store下载的所有副本。

The UI automation APIs are intended for automated testing, not automatic functionality in a shipping app. UI自动化API专用于自动化测试,而不是装运应用程序中的自动化功能。

To answer your question, no, you cannot control the UI of other apps such as SMS or Phone using the automation APIs. 要回答您的问题,不可以,您无法使用自动化API控制其他应用程序的UI,例如SMS或Phone。

If you submit an app to the App Store that contains these APIs I'm pretty sure your app will be rejected very quickly. 如果您将包含这些API的应用提交到App Store,我很确定您的应用将很快被拒绝。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM