Contents

init(subscriptions:marketingContent:)

Creates a view that displays a collection of subscription options, and merchandises them with custom marketing content.

Declaration

nonisolated init(subscriptions: some Collection<Product>, @ViewBuilder marketingContent: () -> Content)

Parameters

  • subscriptions:

    A collection of auto-renewable subscription Product instances to merchandise. The auto-renewable subscriptions need to belong to the same subscription group.

  • marketingContent:

    A view that contains marketing content to display above the store controls.

See Also

Creating subscription store views with custom marketing content