问题描述
我希望 Siri 在我的特定命令上向我显示 Siri 的 IntentViewController
中的特定内容.我曾尝试将 .plist
添加到 .lproj
但它对我不起作用.
I want Siri to show me specific content in IntentViewController
of Siri on my specific Command. I have tried adding a .plist
to .lproj
but it didn't work for me.
推荐答案
我不明白你想做什么,所以我想给出一个建议,你不能在它的外部使用 INSendMessageIntent能力.这意味着您应该为自定义句子使用一些关键字,以使 Siri 理解您对 INSendMessageIntent 的自定义命令.
创建AppIntentVocabulary.plist文件后,需要将其发送到Apple Siri Servers.您可以通过将您的 iPhone Siri 语言更改为您知道的其他语言,然后使用该语言使用简单的 Siri 消息处理来实现这一点.
然后再次将其更改为您想要的语言.
每次更改 AppIntentVocabulary.plist 时都执行此操作.
I could not understand what you want to do so I want to give an advice that you can't use INSendMessageIntent outside of its capabilities. That means you should use some keywords for your custom sentences to make Siri understand your custom command for the INSendMessageIntent.
After you created the AppIntentVocabulary.plist file, it needs to be send to the Apple Siri Servers. You can achieve this by changing your iPhone Siri language to a different one that you know, then use a simple siri message process with that language.
Then again change it to the language you want.
Do this each time you change the AppIntentVocabulary.plist.
这篇关于我如何通过 sirikit 创建和使用自定义词汇表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!