A product promotion controller for customizing the order and visibility of in-app purchases per device.


class SKProductStorePromotionController : NSObject


Managing Promoted Product Order

func fetchStorePromotionOrder(completionHandler: (([SKProduct], Error?) -> Void)?)

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

Managing Promoted Product Visibility

func fetchStorePromotionVisibility(for: SKProduct, completionHandler: ((SKProductStorePromotionVisibility, Error?) -> Void)?)

Reads the visibility setting of a promoted product in the App Store for this device.

enum SKProductStorePromotionVisibility

The visibility settings that determine if an in-app purchase is visible on a device.

Getting the Controller

class func `default`() -> Self

Returns the default product store promotion controller.


Inherits From

Conforms To

See Also


Promoting In-App Purchases

Show your in-app purchases on your app's product page.

Testing Promoted In-App Purchases

Test your in-app purchases before making your app available in the App Store.