'Text properties when fetched from API

I have a long message description coming from the API

The description may contain a link or phone number

I want to use open links from inside text

So that if there is a link in the text of the message that comes in a different color, the user can click on it

are like TextView properties in UIKit

But in SwiftUI comes Link and Text

Example properties in the picture in UIKit I want the link to be displayed inside the text when the description contains a link in SwiftUI

enter image description here

Sorry if my question is rudimentary, but I couldn't find an explanation for it



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source