<!--
{
  "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/SubscriptionStoreControlStyleConfiguration/allOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI012SubscriptionA25ControlStyleConfigurationV10allOptionsSay0aB07ProductVGvp"
  },
  "title" : "allOptions"
}
-->

# allOptions

All subscription options in the subscription group.

```
var allOptions: [Product] { get }
```

## Discussion

The [`allOptions`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/allOptions) property is an array that contains all the subscription options in a subscription group. Use the [`allOptions`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/allOptions) property to access the subscription options that the [`options`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/options) and [`sections`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/sections) properties may not contain.

For example, use the [`allOptions`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/allOptions) property if your control style displays comparisons between available subscription options. A [`SubscriptionPeriodGroupSet`](/documentation/StoreKit/SubscriptionPeriodGroupSet) can compare the value of a yearly renewing subscription to a monthly subscription. Because each instance of your control style displays only subscriptions with matching renewal periods, you can’t compute such a comparison using the [`options`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/options) property. The [`allOptions`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/allOptions) value is always a superset of the [`options`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/options) property.

> Note:
> Don’t use the ``doc://com.apple.storekit/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/allOptions`` property to determine the subscription options your control style view displays. Instead, only display the subscription options that the ``doc://com.apple.storekit/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/options`` or ``doc://com.apple.storekit/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/sections`` properties contain.

It’s possible for a subscription store control to display only a subset of the options available within a subscription group. For example, if you use a store content builder to declare the content of a [`SubscriptionStoreView`](/documentation/StoreKit/SubscriptionStoreView), the store may create multiple instances of your control with different configuration values. These instances may each display a different subset of the subscripton options.

---

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)