Edytuj

Udostępnij za pośrednictwem


UIActivityItemProvider.GetThumbnailImageForActivity Method

Definition

Returns a thumbnail for activities that support preview images.

[Foundation.Export("activityViewController:thumbnailImageForActivityType:suggestedSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage GetThumbnailImageForActivity (UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType, CoreGraphics.CGSize suggestedSize);
abstract member GetThumbnailImageForActivity : UIKit.UIActivityViewController * Foundation.NSString * CoreGraphics.CGSize -> UIKit.UIImage
override this.GetThumbnailImageForActivity : UIKit.UIActivityViewController * Foundation.NSString * CoreGraphics.CGSize -> UIKit.UIImage

Parameters

activityViewController
UIActivityViewController
activityType
NSString
suggestedSize
CGSize

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to