<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/ProductViewStyleConfiguration/descriptionVisibility",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI29ProductViewStyleConfigurationV21descriptionVisibility0cD00J0Ovp"
  },
  "title" : "descriptionVisibility"
}
-->

# descriptionVisibility

The visibility of product descriptions.

```
let descriptionVisibility: Visibility
```

## Discussion

Subscription products have a localized [`description`](/documentation/StoreKit/Product/description) property that you can conditionally display in your custom style. Use the [`descriptionVisibility`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/descriptionVisibility) property to check the value that the  <doc://com.apple.documentation/documentation/SwiftUI/View/productDescription(_:)> view modifier configures on an ancestor of the [`SubscriptionStoreView`](/documentation/StoreKit/SubscriptionStoreView).

Ignore this property if your style doesn’t need the capability to conditionally display the product description. For example, a compact control style may never show product descriptions.

If the view heirarachy doesn’t use the <doc://com.apple.documentation/documentation/SwiftUI/View/productDescription(_:)> view modifier, the [`descriptionVisibility`](/documentation/StoreKit/SubscriptionStoreControlStyleConfiguration/descriptionVisibility) property is [`automatic`](/documentation/StoreKit/SubscriptionStoreControlStyle/automatic).

---

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)