Modifier

Partager via


UIActivityItemSource.GetThumbnailImageForActivity Method

Definition

Returns the preview image for the specified activityType.

[Foundation.Export("activityViewController:thumbnailImageForActivityType:suggestedSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, 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

To be added.

This parameter can be null.

suggestedSize
CGSize

Returns

Attributes

Applies to