Instance Property


A user-readable string describing the service.


var activityTitle: String? { get }

Return Value

A string that describes the service.


This method returns nil by default. Subclasses must override this method and return a user-readable string that describes the service. The string you return should be localized.

See Also

Getting the Activity Information

class var activityCategory: UIActivity.Category

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

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 activityImage: UIImage?

An image that identifies the service to the user.