IntentUI not working

I am working on a swiftui with sirikit. Intent and IntentUI. Often find that the IntentUI is not working. It shows only the default screen and bring user into the app. But not the customized IntentUI.

I find that many developers online those worked on siri also have similar problem. Want to know is there a promising way that it will show the customized UI Everytime with siri input (come from shortcuts).

And I often find that it works last time i checked it. And then after I worked on other functionalies (which are inrelevant to siri) and come back, the siri IntentUI doesn't work again. This is frustrating. Any clue?

Thanks.

Attached image is the default UI shown, which means the IntentUI didn't work.

Accepted Reply

I have fixed it myself. Thx.

Replies

I have fixed it myself. Thx.