WKUIDelegate.GetPreviewingViewController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that is called when the user peeks at content.
[Foundation.Export("webView:previewingViewControllerForElement:defaultActions:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIViewController GetPreviewingViewController (WebKit.WKWebView webView, WebKit.WKPreviewElementInfo elementInfo, WebKit.IWKPreviewActionItem[] previewActions);
abstract member GetPreviewingViewController : WebKit.WKWebView * WebKit.WKPreviewElementInfo * WebKit.IWKPreviewActionItem[] -> UIKit.UIViewController
override this.GetPreviewingViewController : WebKit.WKWebView * WebKit.WKPreviewElementInfo * WebKit.IWKPreviewActionItem[] -> UIKit.UIViewController
Parameters
- webView
- WKWebView
- elementInfo
- WKPreviewElementInfo
- previewActions
- IWKPreviewActionItem[]
Returns
- Attributes