Files
openclaw/apps/ios/Sources/Screen/ScreenWebView.swift
T

16 lines
351 B
Swift
Raw Normal View History

import ClawdisKit
2025-12-12 21:18:54 +00:00
import SwiftUI
import WebKit
struct ScreenWebView: UIViewRepresentable {
var controller: ScreenController
2025-12-12 21:18:54 +00:00
func makeUIView(context: Context) -> WKWebView {
self.controller.webView
}
func updateUIView(_ webView: WKWebView, context: Context) {
// State changes are driven by ScreenController.
}
}