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.

StoreView

Placeholder Icon Store View

Creates a view to load a collection of products from the App Store using product identifiers, and merchandise them using an image and a custom placeholder icon.

Explore Placeholder Icon Store View on iPhone in portrait, with SwiftUI code and Apple API documentation.

StoreView(ids: ["auto_renewable_subscription_1", "non_consumable_1"]) { product in
    if product.id == "auto_renewable_subscription_1" {
        Image(systemName: "checkmark.seal")
    } else {
        Image(systemName: "cat")
    }
} placeholderIcon: {
    ProgressView()
}
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ watchOS 10.0+ tvOS 17.0+ visionOS 1.0+

Every available iPhone screenshot for Placeholder Icon Store View.

1 views