showManageSubscriptions(from:subscriptionGroupID:)
Presents the App Store sheet for managing subscriptions for a subscription group.
Declaration
@MainActor static func showManageSubscriptions(from window: NSWindow, subscriptionGroupID: String) async throwsParameters
- window:
The window that the system presents the sheet on. The window needs to be visible.
- subscriptionGroupID:
The subscription group identifier that the subscription belongs to.
Mentioned in
Discussion
Discussion
Use this method to display the manage subscriptions sheet for the subscriptions in one subscription group, including multiseat subscriptions. The method returns after the customer dismisses the sheet; dismissing the sheet isn’t an error.
If you’re using SwiftUI, call the manageSubscriptionsSheet(isPresented:subscriptionGroupID:) view modifier. On iOS and iPadOS, use showManageSubscriptions(in:subscriptionGroupID:).