Mercurial > public > lazybear
view LazyBear/Views/Company/Helpers/SFSafariViewWrapper.swift @ 442:6eae10397501
Implementing NewsHelper in CompanyView
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 21 Jun 2021 13:28:45 +0200 |
parents | |
children |
line wrap: on
line source
// // SFSafariViewWrapper.swift // LazyBear // // Created by Dennis Concepción Martín on 21/6/21. // import SwiftUI import SafariServices struct SFSafariViewWrapper: UIViewControllerRepresentable { let url: URL func makeUIViewController(context: UIViewControllerRepresentableContext<Self>) -> SFSafariViewController { return SFSafariViewController(url: url) } func updateUIViewController(_ uiViewController: SFSafariViewController, context: UIViewControllerRepresentableContext<SFSafariViewWrapper>) { return } }