title: How to create tappable url/phone number in SwiftUI
body: <p>I would like to display a phone number in a SwiftUI Text (or any View), and then make it clickable so that it will open the 'Phone'.</p>
  
  <p>Is there a way to do this with SwiftUI, or should I try to wrap a UITextView in SwiftUI and do it the old-fashioned way with NSAttributed string etc?</p>
  
  <p>I've read the documentation for Text in SwiftUI, and couldn't find anything about how to do this. Currently trying to do this in Xcode 11 beta 5.</p>
  
  <p>I've searched 'text' in the SwiftUI API in SwiftUI.h </p>
  
  <p>I've also searched stackoverflow [swiftui] and google with queries like "make phone number/url tappable", "Tappable link/url swiftUI" etc.. </p>
  
  <pre class="lang-swift prettyprint-override"><code>Text("123-456-7890")
      .onTapGesture {
      // do something here
  }
  
  </code></pre>
  
  <p>(text will be Japanese phone number)</p>