【问题标题】:searchTerms is empty in INSearchForPhotosIntentHandlingINSearchForPhotosIntentHandling 中的 searchTerms 为空
【发布时间】:2017-06-11 02:44:30
【问题描述】:

我正在开发一个使用SiriKit API 在我的数据库中搜索照片的应用。

到目前为止,Siri 可以识别我的应用和搜索照片的命令,但是,当调用 confirm 和 handle (INSearchForPhotosIntentHandling delegate) 方法时,intent 属性中的 searchTerms 为空。

那么,当我说“在 PetFinder 中搜索狗”时,searchTerms 应该包含“狗”这个词吧?

有人知道为什么 searchTerms 是空的吗?我错过了什么吗?

【问题讨论】:

    标签: ios swift siri sirikit


    【解决方案1】:

    试着说“在 PetFinder 中搜索带有狗的照片”

    【讨论】:

      猜你喜欢
      • 2013-03-31
      • 2018-05-30
      • 2012-05-07
      • 2021-12-09
      • 1970-01-01
      • 2016-04-04
      • 2017-05-14
      • 2021-08-10
      • 2011-04-13
      相关资源
      最近更新 更多