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

# macIdiomStyle

The style to use when this button appears in macOS.

```
@property (nonatomic, assign, readwrite) UIButtonConfigurationMacIdiomStyle macIdiomStyle;
```

## Discussion

Use this property when building your app with Mac Catalyst. The value [`UIButtonConfigurationMacIdiomStyleAutomatic`](/documentation/UIKit/UIButtonConfigurationMacIdiomStyle/UIButtonConfigurationMacIdiomStyleAutomatic) lets the system choose the appropriate style. Select a specific style to force the button to always use that style.

---

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)