Mercurial > public > lazybear
view LazyBear/Views/Company/Helpers/SFSafariViewWrapper.swift @ 415:34f9e408b861
Minor UI Updates and tests
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Wed, 09 Jun 2021 12:49:17 +0200 |
parents | fd8df65927e9 |
children |
line wrap: on
line source
// // SFSafariViewWrapper.swift // LazyBear // // Created by Dennis Concepción Martín on 5/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 } }