Oops, that was an earlier version of the AskyMyAppSnippetView, I had added a prompt display:
struct AskMyAppSnippetView: View {
var question: String
init(_ prompt: String) {
question = prompt
}
var body: some View {
Text("Your question was: \(question)")
}
}
I don't think it really matters, since that didn't change the way the view displayed at the intent result but this is the corrected version thats compatible with the intent code above.
Topic:
App & System Services
SubTopic:
General
Tags: