I am revising an app I did few months ago using SwiftUI, Swift 5.2. To open links I used
UIApplication.shared.open(URL(string: Novitads.link)!)