SubscriptionOptionGroup
struct · iOS 18.0+ · SDK 27.1
@MainActor @preconcurrency struct SubscriptionOptionGroup<Content, Label, MarketingContent> where Content : StoreContent, Label : View, MarketingContent : ViewA group of subscription options within a store. There are two ways to declare the content of a subscription option group: - A predicate describing which subscription options the group contains - A collection of child groups When declaring groups containing subscription options, you may find it convenient to use ``SubscriptionOptionGroupSet`` instead. By using a subscription option group set, you can create several subscription option groups in a single declaration. If you choose to declare a group containing other subscription option groups, you should generally provide a group containing subscription options at some point in the hierarchy. Otherwise, there won't be any meaningful content to present when the group is displayed. When a group is composed of other groups, you can choose to set the style in which the group displays its child groups using ``subscriptionStoreOptionGroupStyle(_:)``. In lieu of an explicit style, subscription option groups will choose an appropriate style automatically.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
17 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SubscriptionOptionGroup.init(isIncluded:label:marketingContent:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(content:label:marketingContent:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.body
The containing type needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(isIncluded:label:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(content:label:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(isIncluded:marketingContent:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(content:marketingContent:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(isIncluded:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(content:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(_:isIncluded:marketingContent:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(_:isIncluded:marketingContent:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(_:content:marketingContent:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(_:content:marketingContent:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(_:isIncluded:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(_:isIncluded:)
callback cannot propagate synchronous failure
SubscriptionOptionGroup.init(_:content:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)
SubscriptionOptionGroup.init(_:content:)
This declaration needs Swift generic type arguments. (no canonical witness for Content)