Mercurial > public > lazybear
view LazyBear/Views/Company/Helpers/SFSafariViewWrapper.swift @ 448:f71761f166f2
Handle when data is empty
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 11:47:14 +0200 |
parents | 6eae10397501 |
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 } }