Type Property


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


class var activityCategory: UIActivity.Category { get }

Return Value

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


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

See Also

Getting the Activity Information

enum UIActivity.Category

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

var activityType: UIActivity.ActivityType?

An identifier for the type of service being provided.

struct UIActivity.ActivityType

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.