Can ARKit display WKWebview?

Is there any way we can load web content in Node in ARKit?
I have tried diffusing the contents of a WebView as Material for SCNPlane. HTML content isn't visible.
The same works well with UIWebView. Unfortunately, it is deprecated.


Code Block
let webView = WKWebView(frame: CGRect(x: 0, y: 0, width: 640, height: 480))
let request = URLRequest(url: URL(string: "https://www.apple.com")!)
webView.load(request)
plane.firstMaterial?.diffuse.contents = webView


Quoting from this thread: https://developer.apple.com/forums/thread/663830


"While this functionality may have worked in some capacity previously with UIWebView (or other UIViews), that behavior was never actually supported. Therefore, I recommend that you file an enhancement request using Feedback Assistant for the specific functionality that you would like.

You may also want to consider displaying your web view in screen space instead (see https://developer.apple.com/documentation/arkit/creating_screen_annotations_for_objects_in_an_ar_experience), as recommended in the HIG (https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/augmented-reality/)

Thanks!"


Can ARKit display WKWebview?
 
 
Q