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.
我想触发 iPhone 的主页按钮长按事件以从我的应用程序中打开 Siri。怎么可能?有没有办法使用编程或蓝牙 HID 协议来做到这一点?
如果您想将应用程序提交到 AppStore,则无法从您的代码中访问 Siri,但如果您不想这样做,请查看以下内容:
堆栈溢出
关于 HID 协议:
我不这么认为,但我不会依赖这些信息。
来自 App Store 指南(略略):
改变设备上开关行为的应用程序将被拒绝
在这里查看更多信息。
这是不可能的。Apple 尚未提供对这些 API 的访问权限。
希望我们能在 WWDC 2015 之后拥有它 :)