Upravit

Sdílet prostřednictvím


WKJavascriptEvaluationResult Delegate

Definition

The result of evaluating JavaScript code.

public delegate void WKJavascriptEvaluationResult(NSObject result, NSError error);
type WKJavascriptEvaluationResult = delegate of NSObject * NSError -> unit

Parameters

result
NSObject

The result of a successful evaluation. null if error occurred.

error
NSError

The exception that occurred. null if evaluation succeeded.

Remarks

If evaluation was successful, error will be null. If an error occurred, result will be null.

Applies to