Instance Method


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


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


The default visibility for a promoted product is set in App Store Connect. Call fetchStorePromotionVisibility(for:completionHandler:) to determine if a product's visibility is set to the default value or if it has been overridden to be hidden or shown.

See Also

Managing Promoted Product Visibility

enum SKProductStorePromotionVisibility

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