One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

CompactPickerSubscriptionStoreControlStyle

struct · iOS 18.0+ · SDK 27.1

@MainActor @preconcurrency struct CompactPickerSubscriptionStoreControlStyle

A subscription store control style that displays subscription plans as a compact picker control, with a single button to subscribe. This style prefers to layout picker options in a horizontal stack, but can scroll horizontally if the container width isn't sufficient. It's recommended to only use this style when you expect your store to display two or three subscription options. You can also use ``SubscriptionStoreControlStyle/compactPicker`` to construct this style.

Members (1)

init · iOS 18.0+

init

TypeScript
static init(): Promise<CompactPickerSubscriptionStoreControlStyle>
Swift declaration
@MainActor @preconcurrency init()

Creates a compact picker subscription store control style.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CompactPickerSubscriptionStoreControlStyle.Placement

The iOS SDK compiler rejected this binding: type 'CompactPickerSubscriptionStoreControlStyle.Placement' does not conform to protocol 'OneSDKNamedConstants'

CompactPickerSubscriptionStoreControlStyle.makeBody(configuration:)

This protocol needs associated types that cannot yet cross the bridge.

All _StoreKit_SwiftUI types →