CompactProductViewStyle
A style for a product view that’s suitable for layouts with less available space, or for displaying more items in a small amount of space.
Platform Compatibility
Tags
SwiftUI Code
ProductView(id: "auto_renewable_subscription_1", prefersPromotionalIcon: true)
.productViewStyle(.compact)Found an issue or have a suggestion?
More ProductView Components
View allRegularProductViewStyle
A style for a product view that uses a standard, platform-appropriate layout.
LargeProductViewStyle
A style for a product view that’s suitable for layouts where the in-app purchase content is prominent.
Placeholder Icon Product View
Creates a view to load an individual product from the App Store, and merchandise it using its promotional image and a custom placeholder icon.
Custom Icon Product View
Creates a view to load an individual product from the App Store and merchandise it using a custom icon.
Explore Other Components
Browse allViewThatFits
A view that adapts to the available space by providing the first child view that fits.
SliderTickContentForEach
A type of slider content that creates content by iterating over a collection.
Custom Slider Ticks
Creates a slider to select a value from a given range, subject to a step increment, which displays the provided labels and customizable ticks.