Instance Method

update(storePromotionVisibility:for:completionHandler:)

Updates the visibility of the product on the App Store, per device.

Declaration

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

Discussion

An in-app purchase product's default visibility setting is set up in App Store Connect. You can override the default setting, or return it to the default set in App Store Connect using the values in SKProductStorePromotionVisibility.

Visibility settings apply per device.

See Also

Managing Promoted Product Visibility

enum SKProductStorePromotionVisibility

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