Contents

sharingServices(forItems:)

Returns a list of sharing services which could share all the provided items together.

Declaration

class func sharingServices(forItems items: [Any]) -> [NSSharingService]

Parameters

  • items:

    The items to share.

Return Value

An array of sharing services to allow for items.

Discussion

This method can be used to build a custom user interface or to populate a contextual menu.

See Also

Related Documentation

Querying Service Availability