---
title: "multiSeatInvitationBehavior(_:)"
framework: SwiftUI
role: symbol
role_heading: Instance Method
platforms: [iOS 27.3+, iPadOS 27.3+, Mac Catalyst 27.3+, macOS 27.3+]
path: "swiftui/view/multiseatinvitationbehavior(_:)"
---

# 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

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

```

## Parameters

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

## Discussion

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.
