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.
Platform Compatibility
Tags
SwiftUI Code
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()
}