Upravit

Sdílet prostřednictvím


UIActivityItemSource_Extensions Class

Definition

Extension methods to the IUIActivityItemSource interface to support all the methods from the UIActivityItemSource protocol.

public static class UIActivityItemSource_Extensions
type UIActivityItemSource_Extensions = class
Inheritance
UIActivityItemSource_Extensions

Remarks

The extension methods for IUIActivityItemSource allow developers to treat instances of the interface as having all the optional methods of the original UIActivityItemSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetDataTypeIdentifierForActivity(IUIActivityItemSource, UIActivityViewController, NSString)

If the specified provides NSData, this method returns the Uniform Type Identifier (UTI) of the item.

GetSubjectForActivity(IUIActivityItemSource, UIActivityViewController, NSString)

Returns the subject for the specified .

GetThumbnailImageForActivity(IUIActivityItemSource, UIActivityViewController, NSString, CGSize)

Returns the preview image for the specified .

Applies to