SubscriptionStoreControlStyle.SubscriptionPicker
typealias · iOS 18.0+ · SDK 27.1
typealias SubscriptionPicker = SubscriptionStorePickerA composite control for selecting an option from a subscription group and confirming the selected subscription. To use a subscription picker, first declare a type conforming to ``SubscriptionStoreControlStyle``. You use this view as a component of the view you provide from ``makeBody(configuration:)``. There are two primary ways to create a subscription picker within your custom control style: + Provide the ``Configuration`` value to the subscription picker, and use the components of each option to declare the option's label. + Provide a collection of views for the picker's content, using a ``SubscriptionPickerOption`` to declare the control for each option. Either way, you must also declare a view to confirm the subscription, after someone finishes selecting an option. You can optionally provide a binding to a ``Configuration.Option`` to respond to selection changes or programmatically change the selection. - Important: The subscription picker must be a descendant of a subscription store view.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.