Type Property


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


class var activityCategory: UIActivityCategory { get }

Return Value

The assigned category of the activity. The default implementation returns action.


Override this method to define a different activity category for your custom activity.

See Also

Getting the Activity Information

enum UIActivityCategory

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

var activityType: UIActivityType?

An identifier for the type of service being provided.

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.