<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SubscriptionStoreControlPlacementKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI012SubscriptionA19ControlPlacementKeyV"
  },
  "title" : "SubscriptionStoreControlPlacementKey"
}
-->

# SubscriptionStoreControlPlacementKey

A placement for a subscription store control in a store view.

```
struct SubscriptionStoreControlPlacementKey
```

## Overview

This type represents all available control placements. You typically don’t interact with this type directly. Use it if you create a custom control style that conforms to the [`SubscriptionStoreControlStyle`](/documentation/StoreKit/SubscriptionStoreControlStyle) protocol to restrict the supported placements for your style. By default, a custom control style supports all placements. For more information, see [`SubscriptionStoreControlPlacement`](/documentation/StoreKit/SubscriptionStoreControlPlacement).

## Topics

### Placing subscription store controls

[`static var bottom: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/bottom)

A placement that anchors the subscription controls to the bottom edge of the view.

[`static var leading: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/leading)

A placement that anchors the subscription controls to the leading edge of the view.

[`static var scrollView: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/scrollView)

A placement that locates the subscription controls within the main scroll view of a subscription store view.

[`static var trailing: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/trailing)

A placement that anchors the subscription controls to the trailing edge of the view.

[`static var bottomBar: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/bottomBar)

A placement that locates the subscription controls in a bar near the bottom of the main scroll view in a subscription store view.

[`static var buttonsInBottomBar: SubscriptionStoreControlPlacementKey`](/documentation/StoreKit/SubscriptionStoreControlPlacementKey/buttonsInBottomBar)

A hybrid placement that positions subscription controls within the main scroll view, and places auxiliary buttons in the bottom bar.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)