Contents

multiSeatInvitationBehavior(_:)

Sets the behavior of the Apple-owned invitation sheet that appears after a customer purchases a multi-seat subscription from a StoreKit view.

Declaration

nonisolated func multiSeatInvitationBehavior(_ behavior: MultiSeatInvitationBehavior) -> some View

Parameters

  • behavior:

    The behavior to apply to the Apple-owned multi-seat invitation sheet.

Discussion

The behavior you set applies to StoreKit views within this view, and only to the sheet the system presents in-line once a purchase completes. It has no effect on multiSeatInvitationSheet(isPresented:subscriptionGroupID:onCompletion:), which your app presents on demand.

Behaviors you set in this modifier overwrite any behavior you specified in ancestor views.