Skip to content

Commit

Permalink
Fixed assess
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Apr 13, 2024
1 parent 4597068 commit 25a72b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/DarockKit/UIExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ import WebKit
public struct WebView: UIViewRepresentable {
let url: URL

public init(url: URL) {
self.url = url
}

public func makeUIView(context: Context) -> WKWebView {
let webView = WKWebView()
webView.load(URLRequest(url: url))
Expand Down

0 comments on commit 25a72b3

Please sign in to comment.