Type Method

sharingServiceNamed:

Returns a sharing service instance representing the specified service name.

Declaration

+ (NSSharingService *)sharingServiceNamed:(NSSharingServiceName)serviceName;

Parameters

serviceName

The service name. The possible system provided values are listed in Available Sharing Services.

Return Value

An instance of NSSharingService for the specified service name.

See Also

Creating a Sharing Service

- initWithTitle:image:alternateImage:handler:

Creates a custom sharing service object.

NSSharingServiceName

These constants list the available sharing services.