Contents

fetchStorePromotionOrder(completionHandler:)

Reads the product order override that determines the promoted product order on this device.

Declaration

func fetchStorePromotionOrder(completionHandler: (@Sendable ([SKProduct], (any Error)?) -> Void)? = nil)
func promotionOrder() async throws -> [SKProduct]

Mentioned in

Discussion

This function returns an array of promoted products whose order is overridden on the given device.

If all the products appear in the default order, this method returns an empty array.

See Also

Managing promoted product order