Compartilhar via


WKUIDelegate.ShouldPreviewElement(WKWebView, WKPreviewElementInfo) Método

Definição

Método chamado para descobrir se o elemento deve fornecer uma versão prévia.

[Foundation.Export("webView:shouldPreviewElement:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldPreviewElement (WebKit.WKWebView webView, WebKit.WKPreviewElementInfo elementInfo);
abstract member ShouldPreviewElement : WebKit.WKWebView * WebKit.WKPreviewElementInfo -> bool
override this.ShouldPreviewElement : WebKit.WKWebView * WebKit.WKPreviewElementInfo -> bool

Parâmetros

webView
WKWebView
elementInfo
WKPreviewElementInfo

Retornos

Atributos

Aplica-se a