gpt4 book ai didi

ios - SiriKit - 无法从 UI 扩展加载 View

转载 作者:行者123 更新时间:2023-12-01 20:00:10 24 4
gpt4 key购买 nike

在我的应用程序中开始锻炼时,我试图从我的 Storyboard中显示 View 。但显然我做错了什么,因为 View 永远不会加载。我已将 INStartWorkoutIntent 放在两个扩展的 plist 中,但 func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!)方法永远不会被调用。我应该打一些特定的电话以便 View 显示吗? resolvehandle另一个扩展中的方法被调用。

最佳答案

您无法为 INStartWorkoutIntent 加载自定义 UI,因为如果您支持以下域中的意图,您可以提供 Intents UI 扩展:
消息传递,
付款,
乘车预订,
锻炼。

看看https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/ProvidingaCustomInterface.html#//apple_ref/doc/uid/TP40016875-CH7-SW1

关于ios - SiriKit - 无法从 UI 扩展加载 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40140758/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com