0

I found this topic Web app in tvOS in which a workaround to use WebView in tvOS is:

let webViewClass : AnyObject.Type = NSClassFromString("UIWebView")!
let webViewObject : NSObject.Type = webViewClass as! NSObject.Type
let webview: AnyObject = webViewObject.init()
let url = NSURL(string: "https://www.google.com")
let request = NSURLRequest(URL: url!)
webview.loadRequest(request)

However, I am using Xamarin to develop my tvOS app. How can I translate that Swift code to Xamarin C#?

Nghia Bui
  • 3,694
  • 14
  • 21

0 Answers0