The SwiftUI Handbook

Link from a Text

If you want to add a link to a Text in SwiftUI, you'll need to call the .onTapGesture modifier as well as UIApplication.shared.open.

Loading lesson