SwiftUI Add to siri button

Add to Siri Button with SwiftUI

For an app I was building I needed to add an Add to Siri Button, to add new Interaction to Shortcuts. While this straightforward in UIKit, it was more challenging in a project that uses SwiftUI. SwiftUI makes it easy to build and prototype good-looking UIs for all kinds of applications. While the code of SwiftUI is simple and clean, it is still young and a lot of API functionality is missing....

May 20, 2020 · 3 min · Julian Beck