One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

AutomaticSubscriptionStoreControlStyle

struct · iOS 17.0+ · SDK 27.1

@MainActor @preconcurrency struct AutomaticSubscriptionStoreControlStyle

The default subscription store control style, choosing a standard style automatically based on the view's context. You can also use ``SubscriptionStoreControlStyle/automatic`` to construct this style.

Members (1)

init · iOS 17.0+

init

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

Creates a default subscription store control style.

Skipped declarations

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

AutomaticSubscriptionStoreControlStyle.Placement

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

AutomaticSubscriptionStoreControlStyle.makeBody(configuration:)

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

All _StoreKit_SwiftUI types →