visibility
A value that indicates whether the promoted in-app purchase is visible or hidden on the user’s device.
Declaration
var visibility: Product.PromotionInfo.VisibilityMentioned in
Discussion
To override the visibility of a promoted 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.