<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SubscriptionStoreView/init(subscriptions:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI012SubscriptionA4ViewV13subscriptionsACyAA09AutomaticeA16MarketingContentVGqd___tcAFRszSlRd__0aB07ProductV7ElementRtd__lufc"
  },
  "title" : "init(subscriptions:)"
}
-->

# init(subscriptions:)

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

```
nonisolated init(subscriptions: some Collection<Product>) where Content == AutomaticSubscriptionStoreMarketingContent
```

## Parameters

`subscriptions`

A collection of auto-renewable subscription [`Product`](/documentation/StoreKit/Product) instances to merchandise. The auto-renewable subscriptions need to belong to the same subscription group.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)