UIDragPreview.GetPreview UIDragPreview.GetPreview Method

Definition

Overloads

GetPreview(NSUrl) GetPreview(NSUrl)

Creates and returns a drag preview for the resource at the specified URL.

GetPreview(NSUrl, String) GetPreview(NSUrl, String)

Creates and returns a drag preview with the specified title for the resource at the specified URL.

GetPreview(NSUrl) GetPreview(NSUrl)

Creates and returns a drag preview for the resource at the specified URL.

[Foundation.Export("previewForURL:")]
public static UIKit.UIDragPreview GetPreview (Foundation.NSUrl url);
static member GetPreview : Foundation.NSUrl -> UIKit.UIDragPreview

Parameters

url
NSUrl NSUrl

The location of the resource.

Returns

GetPreview(NSUrl, String) GetPreview(NSUrl, String)

Creates and returns a drag preview with the specified title for the resource at the specified URL.

[Foundation.Export("previewForURL:title:")]
public static UIKit.UIDragPreview GetPreview (Foundation.NSUrl url, string title);
static member GetPreview : Foundation.NSUrl * string -> UIKit.UIDragPreview

Parameters

url
NSUrl NSUrl

The location of the resource.

title
String String

The resource title.

This parameter can be null.

Returns

Applies to