WebKit.WKWebView.EvaluateJavaScript Method
Evaluates the given JavaScript string.

Syntax

[Foundation.Export("evaluateJavaScript:completionHandler:")]
public virtual void EvaluateJavaScript (Foundation.NSString javascript, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDWKJavascriptEvaluationResult))] WKJavascriptEvaluationResult completionHandler)

Parameters

javascript
The JavaScript string to evaluate
completionHandler
Method to invoke when script evaluation completes or fails

Remarks

The completionHandler is passed the result of the script evaluation or an error.

Requirements

Namespace: WebKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0