init(ids:prefersPromotionalIcon:)
Creates a view to load and merchandise a collection of products from the App Store using product identifiers.
Declaration
nonisolated init(ids productIDs: some Collection<String>, prefersPromotionalIcon: Bool = false) where Icon == EmptyView, PlaceholderIcon == EmptyViewParameters
- productIDs:
The product identifiers to load from the App Store.
- prefersPromotionalIcon:
A Boolean value that indicates whether to use promotional images from the App Store, if they’re available. If this parameter is
false, the system ignores promotional images.