One Logo Pool Ball
_StoreKit_SwiftUI · IOS API REFERENCE

CompactProductViewStyle

struct · iOS 17.0+ · SDK 27.1

@MainActor @preconcurrency struct CompactProductViewStyle

A product view style suitable for layouts where less space is available, or for displaying more items in a small amount of space. On iOS and macOS, the style will grow to fit the available width. You can also use ``ProductViewStyle/compact`` to construct this style.

Members (1)

init · iOS 17.0+

init

TypeScript
static init(): Promise<CompactProductViewStyle>
Swift declaration
nonisolated init()

Creates a compact product view style.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CompactProductViewStyle.makeBody(configuration:)

This protocol needs associated types that cannot yet cross the bridge.

All _StoreKit_SwiftUI types →