Contents

multiSeatInvitationSheetSuppressed(_:)

Turns off the invitation sheet that the system presents after a multiseat subscription purchase with Apple-hosted invitations.

Declaration

@backDeployed(before: iOS 27.3, macOS 27.3, tvOS 27.3, watchOS 27.3, visionOS 27.3)
static func multiSeatInvitationSheetSuppressed(_ isSuppressed: Bool) -> Product.PurchaseOption

Parameters

  • isSuppressed:

    A Boolean value that indicates whether to turn off the invitation sheet. The default is false.

Mentioned in

Return Value

An instance of Product.PurchaseOption to use in purchase(options:).

Discussion

When a multiseat subscription uses Apple-hosted invitations, the system presents a sheet after the purchase that the group purchaser uses to invite people to join. Add this option with a value of true to present the sheet at a time you choose instead. To present it, call presentMultiSeatInvitationSheet(from:subscriptionGroupID:) in UIKit or presentMultiSeatInvitationSheet(from:subscriptionGroupID:) in AppKit, or use the multiSeatInvitationSheet(isPresented:subscriptionGroupID:onCompletion:) view modifier in SwiftUI. Subscriptions that use developer-hosted invitations don’t show the sheet.

For more information, see Supporting multiseat purchases in your app.

To control the sheet after a purchase in a StoreKit view, use the multiSeatInvitationBehavior(_:) view modifier instead.

See Also

Purchasing multiseat subscriptions