init(_:)
Initializes the sharing controller with the specified activity and type information.
Declaration
@MainActor init<ActivityType>(_ activity: ActivityType) throws where ActivityType : GroupActivityParameters
- activity:
The activity object to start.