isSelected
TypeScriptget isSelected(): booleanSwift declarationlet isSelected: BoolWhether this is the currently selected subscription option in the picker control.
struct · iOS 18.0+ · SDK 27.1
@dynamicMemberLookup struct PickerOptionThe properties of a picker option for selecting a subscription product.
get isSelected(): booleanSwift declarationlet isSelected: BoolWhether this is the currently selected subscription option in the picker control.
get activeOffer(): (_StoreKit_Product_SubscriptionOffer) | nullSwift declarationvar activeOffer: Product.SubscriptionOffer? { get }The selected subscription offer to apply to the purchase of this subscription option.
get subscription(): _StoreKit_ProductSwift declarationvar subscription: Product { get }Properties of the subscription. You don't need to access this property directly in order to access properties of the subscription. Any of ``StoreKit/Product``'s members can be accessed directly on an ``SubscriptionStoreControlStyleConfiguration/Option`` value. - Important: Don't use ``StoreKit/Product/purchase(confirmIn:options:)`` on the product value in your control style. Instead, call ``subscribe()`` on the ``SubscriptionStoreControlStyleConfiguration/Option`` in response to an subscribe interaction.
subscriptDynamicMember(keyPath: SDKHandle): (unknown) | nullSwift declarationsubscript<T>(dynamicMember keyPath: KeyPath<Product.SubscriptionInfo, T?>) -> T? { get }subscriptDynamicMember54530(keyPath: SDKHandle): (unknown) | nullSwift declarationsubscript<T>(dynamicMember keyPath: KeyPath<Product.SubscriptionInfo, T>) -> T? { get }subscriptDynamicMember22851(keyPath: SDKHandle): unknownSwift declarationsubscript<T>(dynamicMember keyPath: KeyPath<Product, T>) -> T { get }get id(): stringSwift declarationvar id: Product.ID { get }The product ID of the subscription option.
get icon(): (SubscriptionStoreControlStyleConfiguration_Icon) | nullSwift declarationvar icon: SubscriptionStoreControlStyleConfiguration.Icon? { get }The subscription option's icon. You declare the control icon for subscription store views within a view hierarchy with ``SwiftUI/View/subscriptionStoreControlIcon(icon:)``.
No declarations were skipped in this snapshot.