Instance Property

activityType

An identifier for the type of service being provided.

Declaration

var activityType: UIActivityType? { get }

Return Value

A string that identifies the provided service to your app.

Discussion

This method returns nil by default. Subclasses must override this method and return a valid string that identifies the application service. This string is not presented to the user.

See Also

Getting the Activity Information

class var activityCategory: UIActivityCategory

Returns the category of the activity, which may be used to group activities in the UI.

enum UIActivityCategory

Activities have a defined category, and the activity UI may show activities grouped by category.

struct UIActivityType

Activity types for which the system has built-in support.

var activityTitle: String?

A user-readable string describing the service.

var activityImage: UIImage?

An image that identifies the service to the user.