How to use Link in SwiftUI

An easy way to present links to your users

Kelvin Tan
Swiftly Engineered iOS
3 min readJul 2, 2020

--

Photo by JJ Ying on Unsplash

Recently introduced in WWDC 2020, Link is text with a link within it. When you press it, you will be redirected to the link you have attached within.

Bear in mind that this is only supported in iOS 14 and above and can only be used in Xcode 12+.

Prerequisites

--

--

Kelvin Tan
Swiftly Engineered iOS

Father, husband, software engineer. Building software and building a family, one line of code and one moment at a time. 🚀💻💙 http://ko-fi.com/kelvintanzy