Bearbeiten

Freigeben über


UIDragPreview.GetPreview Method

Definition

Overloads

GetPreview(NSUrl)

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

GetPreview(NSUrl, String)

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

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

The location of the resource.

Returns

Attributes

Applies to

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

The location of the resource.

title
String

The resource title.

This parameter can be null.

Returns

Attributes

Applies to