是否需要使用Sirikit的Apple Watch应用?
我已经在iOS应用程序上设置了Siri-我可以使用Inaddtasksintent调用意图,并且效果很好。
当我说“嘿Siri,添加任务清洁我的房间为Joshapp”时,它效果很好。
但是,Siri使用相同的命令在我的Apple Watch上不起作用。当我说“嘿Siri,将任务添加到Joshapp中,请添加任务清洁我的房间”时,它会说它找不到该应用程序或在App Store上查看。
我需要创建一个单独的Apple Watch应用程序并处理Siri的意图吗?根据我的研究(顺便说一句,周围的文档很少),除非您设置WatchOS应用程序,否则似乎不可能。
I've set up Siri on my iOS app- I am able to call intents using INAddTasksIntent and it works great.
When I say "Hey Siri, add task clean my room to JoshApp" it works great.
However, Siri does not work on my Apple watch, using the same commands. When I say "Hey Siri, add task clean my room to JoshApp", it will say it cannot find the app or to look on the app store.
Do I need to create a separate Apple watch app and handle the Siri intents there? Based on my research (which incidentally, there is very little documentation around it), it doesn't seem like it is possible unless you set up a watchOS app.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
作为应用程序包的一部分,将意图交付给单个设备:
来源:
没有安装在WatchOS设备上的关联应用程序捆绑包,它(宽松,我承认)暗示您将无法添加意图扩展以满足您的要求。
Intents are delivered to individual devices as part of app bundles:
Source: Creating an Intents App Extension
Without the associated app bundle being installed on the watchOS device, it's (loosely, I'll admit) implied that you won't be able to add an Intents extension to meet your requirements.