init(groupID:visibleRelationships:marketingContent:)
Creates a view that loads all the subscriptions in a subscription group from the App Store, and merchandises them with custom marketing content.
Declaration
nonisolated init(groupID: String, visibleRelationships: Product.SubscriptionRelationship = .all, @ViewBuilder marketingContent: () -> Content)Parameters
- groupID:
The subscription group identifier to load from the App Store.
- visibleRelationships:
The kinds of subscription option relationships the view makes visible when someone is already subscribed to the subscription.
- marketingContent:
The view that contains marketing content to display above the store controls.