<!--
{
  "availability" : [
    "iOS: 16.4.0 -",
    "iPadOS: 16.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Product/PromotionInfo/visibility-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit7ProductV13PromotionInfoV10visibilityAE10VisibilityOvp"
  },
  "title" : "visibility"
}
-->

# visibility

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

```
var visibility: Product.PromotionInfo.Visibility
```

## Discussion

To override the visibility of a promoted Apple In-App Purchase, set the [`visibility`](/documentation/StoreKit/Product/PromotionInfo/visibility-swift.property) value and then call [`update()`](/documentation/StoreKit/Product/PromotionInfo/update()) to save the change. You can also call [`updateProductVisibility(_:for:)`](/documentation/StoreKit/Product/PromotionInfo/updateProductVisibility(_:for:)) to set the visibility.

The default value is [`Product.PromotionInfo.Visibility.appStoreConnectDefault`](/documentation/StoreKit/Product/PromotionInfo/Visibility-swift.enum/appStoreConnectDefault).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)