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 allContent Unavailable Search Text
A pre-built placeholder for empty search results with search text
Min Max Current Value Gauge
Creates a gauge showing a value within a range and describes the gauge’s current, minimum, and maximum values
Pinned Toolbar Item Placement
A placement that pins the item to the trailing edge of the toolbar.
Toolbar Overflow Menu
The overflow menu of a toolbar. An overflow menu represents actions that are always placed in the toolbar’s overflow menu, regardless of the toolbar mode, platform, or customizability.
StepperFieldDatePickerStyle
A system style that displays the components in an editable field, with adjoining stepper that can increment/decrement the selected component
AccessoryLinearGaugeStyle
A gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge’s current value