One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

SubscriptionOptionSection

struct · iOS 18.0+ · SDK 27.1

@MainActor @preconcurrency struct SubscriptionOptionSection<Header, Content, Footer> where Header : View, Content : StoreContent, Footer : View

Contains subscription options to add visual hierarchy within a subscription store view's controls. Use one of the ``SubscriptionStoreView`` initializers which take a store content builder to declare sections of a subscription store. When you declare adjacent subscription option sections, they form an group with a default label and marketing content. To customize the label and marketing content of the group, declare an explicit ``SubscriptionOptionGroup`` which contains the sections to include in the group. Not all subscription store control styles support sections.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

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

SubscriptionOptionSection.body

The containing type needs Swift generic type arguments. (no canonical witness for Content)

SubscriptionOptionSection.init(isIncluded:header:footer:)

callback cannot propagate synchronous failure

SubscriptionOptionSection.init(_:isIncluded:footer:)

callback cannot propagate synchronous failure

SubscriptionOptionSection.init(_:isIncluded:footer:)

callback cannot propagate synchronous failure

All _StoreKit_SwiftUI types →