<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIContentUnavailableButtonProperties",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIContentUnavailableButtonProperties"
  },
  "title" : "UIContentUnavailableButtonProperties"
}
-->

# UIContentUnavailableButtonProperties

Properties configuring the appearance and behavior of a button in a content-unavailable view.

```
@interface UIContentUnavailableButtonProperties : NSObject
```

## Topics

### Instance Properties

[`@property (nonatomic, getter=isEnabled) BOOL enabled;`](/documentation/UIKit/UIContentUnavailableButtonProperties/enabled)

A Boolean value that enables and disables the button.

[`@property (nonatomic, copy, nullable) UIMenu * menu;`](/documentation/UIKit/UIContentUnavailableButtonProperties/menu)

A menu that the button displays.

[`@property (nonatomic, copy, nullable) UIAction * primaryAction;`](/documentation/UIKit/UIContentUnavailableButtonProperties/primaryAction)

The action to perform for the primary action control event.

[`@property (nonatomic) UIButtonRole role;`](/documentation/UIKit/UIContentUnavailableButtonProperties/role)

The role of the button.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)