mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-11 07:43:28 +01:00
Files
naturecodevoid/feature/feature-flags
21 lines
479 B
Swift
21 lines
479 B
Swift
//
|
|||
// SafariView.swift
|
|||
// SideStore
|
|||
//
|
|||
// Created by Fabian Thies on 18.11.22.
|
|||
// Copyright © 2022 Fabian Thies. All rights reserved.
|
|||
//
|
|||
|
|||
import SwiftUI
|
|||
import SafariServices
|
|||
|
|||
struct SafariView: UIViewControllerRepresentable {
|
|||
let url: URL
|
|||
|
|||
func makeUIViewController(context: Context) -> some UIViewController {
|
|||
SFSafariViewController(url: url)
|
|||
}
|
|||
|
|||
func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context) { }
|
|||
}
|