SubscriptionStoreControlStyle
protocol · iOS 17.0+ · SDK 27.1
@MainActor @preconcurrency protocol SubscriptionStoreControlStyleA type that specifies the appearance and interaction of subscribe controls for subscription store views within the view hierarchy. To configure the subscription store control style for a view hierarchy, use the ``SwiftUI/View/subscriptionStoreControlStyle(_:)-9re4m`` or ``SwiftUI/View/subscriptionStoreControlStyle(_:placement:)`` modifier. To create a custom style, declare a type conforming to ``SubscriptionStoreControlStyle``. Implement the ``makeBody(configuration:)`` method to return a view that composes the elements of the configuration the system provides to your method. You can create custom styles composed of a standard style's components: + Use the standard button label and optional captions with ``SubscribeButton`` + Create a control similar to ``picker`` with ``SubscriptionPicker`` + Use the standard picker option label with ``SubscriptionPickerOption`` + Style your buttons as standard picker options using ``SwiftUI/PrimitiveButtonStyle/subscriptionPickerOption`` and ``SwiftUI/PrimitiveButtonStyle/subscriptionPickerOptionProminent``
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
7 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SubscriptionStoreControlStyle.pagedProminentPicker
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.pagedPicker
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.automatic
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.compactPicker
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.prominentPicker
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.picker
Static protocol requirements cannot be called through an instance.
SubscriptionStoreControlStyle.buttons
Static protocol requirements cannot be called through an instance.