Contents

init(_:)

Initializes the sharing controller with the specified activity and type information.

Declaration

@MainActor init<ActivityType>(_ activity: ActivityType) throws where ActivityType : GroupActivity

Parameters

  • activity:

    The activity object to start.

See Also

Creating the group activity sharing controller