Contents

visibility

A value that indicates whether the promoted Apple In-App Purchase is visible or hidden on the user’s device.

Declaration

var visibility: Product.PromotionInfo.Visibility

Mentioned in

Discussion

To override the visibility of a promoted Apple In-App Purchase, set the visibility value and then call update() to save the change. You can also call updateProductVisibility(_:for:) to set the visibility.

The default value is Product.PromotionInfo.Visibility.appStoreConnectDefault.

See Also

Managing promotion visibility