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

# init(productIDs:marketingContent:)

Creates a view that loads a collection of subscriptions from the App Store, and merchandises them with custom marketing content.

```
nonisolated init(productIDs: some Collection<String>, @ViewBuilder marketingContent: () -> Content)
```

## Parameters

`productIDs`

The product identifiers to load from the App Store.

`marketingContent`

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

---

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)