iPhone SwiftUI layouts
Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.
201elements
SubscriptionStoreView
Custom Group Subscription Store View
Creates a SubscriptionStoreView with custom grouping.
Explore Custom Group Subscription Store View on iPhone in portrait, with SwiftUI code and Apple API documentation.
SwiftUI code
SubscriptionStoreView(groupID: "457464AA") {
SubscriptionOptionGroup("Monthly") { product in
product.subscription?.subscriptionPeriod.unit == .month
}
SubscriptionOptionGroup("Yearly") { product in
product.subscription?.subscriptionPeriod.unit == .year
}
}Compatibility
iOS 18.0+ iPadOS 18.0+ macOS 15.0+ watchOS 11.0+ tvOS 18.0+ visionOS 2.0+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone screenshot for Custom Group Subscription Store View.