The API in objc (and also in the ms docs) indicate that values can be null:
https://developer.apple.com/documentation/webkit/wkuidelegate/1538086-webview?language=objc
public virtual void RunJavaScriptTextInputPanel (
WebKit.WKWebView webView,
string prompt,
- string defaultText,
+ string defaultText?,
WebKit.WKFrameInfo frame,
- Action<string> completionHandler);
+ Action<string?> completionHandler);
The API in objc (and also in the ms docs) indicate that values can be null:
https://developer.apple.com/documentation/webkit/wkuidelegate/1538086-webview?language=objc
public virtual void RunJavaScriptTextInputPanel ( WebKit.WKWebView webView, string prompt, - string defaultText, + string defaultText?, WebKit.WKFrameInfo frame, - Action<string> completionHandler); + Action<string?> completionHandler);