<!--
{
  "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/AutomaticSubscriptionStoreControlPlacement",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI021AutomaticSubscriptionA16ControlPlacementV"
  },
  "title" : "AutomaticSubscriptionStoreControlPlacement"
}
-->

# AutomaticSubscriptionStoreControlPlacement

A system-defined placement for a subscription store view.

```
struct AutomaticSubscriptionStoreControlPlacement
```

## Overview

You typically don’t use this type directly, except when you implement a custom control style. By default, a custom control style supports all placements. For more information, see the [`SubscriptionStoreControlPlacement`](/documentation/StoreKit/SubscriptionStoreControlPlacement) protocol.

## Topics

### Getting automatic placements

[`static var automatic: AutomaticSubscriptionStoreControlPlacement`](/documentation/StoreKit/AutomaticSubscriptionStoreControlPlacement/automatic)

A context-appropriate placement that the system determines automatically.

[`static var bottomBar: AutomaticSubscriptionStoreControlPlacement`](/documentation/StoreKit/AutomaticSubscriptionStoreControlPlacement/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: AutomaticSubscriptionStoreControlPlacement`](/documentation/StoreKit/AutomaticSubscriptionStoreControlPlacement/buttonsInBottomBar)

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

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

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

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

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

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

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

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

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

## Relationships

### Conforms To

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

[`SubscriptionStoreControlPlacement`](/documentation/StoreKit/SubscriptionStoreControlPlacement)

---

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)