<!--
{
  "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(productIDs:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI012SubscriptionA4ViewV10productIDsACyAA09AutomaticeA16MarketingContentVGqd___tcAFRszSlRd__SS7ElementRtd__lufc"
  },
  "title" : "init(productIDs:)"
}
-->

# init(productIDs:)

Creates a view that loads subscriptions based on a collection of product identifiers, and merchandises them with automatic marketing content.

```
nonisolated init(productIDs: some Collection<String>) where Content == AutomaticSubscriptionStoreMarketingContent
```

## Parameters

`productIDs`

The product identifiers to load from the App Store.

## Discussion

---

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)