<!--
{
  "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/UIButtonConfigurationMacIdiomStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIButtonConfigurationMacIdiomStyle"
  },
  "title" : "UIButtonConfigurationMacIdiomStyle"
}
-->

# UIButtonConfigurationMacIdiomStyle

The button style your app uses when running in macOS.

```
enum UIButtonConfigurationMacIdiomStyle : NSInteger;
```

## Overview

If you build your app with [Mac Catalyst](/documentation/UIKit/mac-catalyst), you can use these styles to configure how your app displays a button when running on a Mac. To opt in to these styles, choose Optimize Interface for Mac in you project’s general settings.

If you’re configuring your button in Interface Builder, you can choose a style from the Mac Style pop-up menu in the Attributes inspector.

## Topics

### Button styles

[`UIButtonConfigurationMacIdiomStyleAutomatic`](/documentation/UIKit/UIButtonConfigurationMacIdiomStyle/UIButtonConfigurationMacIdiomStyleAutomatic)

The button has a style that matches other content in the button configuration.

[`UIButtonConfigurationMacIdiomStyleBordered`](/documentation/UIKit/UIButtonConfigurationMacIdiomStyle/UIButtonConfigurationMacIdiomStyleBordered)

The button has a bordered style.

[`UIButtonConfigurationMacIdiomStyleBorderless`](/documentation/UIKit/UIButtonConfigurationMacIdiomStyle/UIButtonConfigurationMacIdiomStyleBorderless)

The button has a borderless style.

[`UIButtonConfigurationMacIdiomStyleBorderlessTinted`](/documentation/UIKit/UIButtonConfigurationMacIdiomStyle/UIButtonConfigurationMacIdiomStyleBorderlessTinted)

The button has a tinted, borderless 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)