---
title: UIButtonConfigurationMacIdiomStyle
framework: uikit
role: symbol
role_heading: Enumeration
path: uikit/uibuttonconfigurationmacidiomstyle
---

# UIButtonConfigurationMacIdiomStyle

The button style your app uses when running in macOS.

## Declaration

```occ
enum UIButtonConfigurationMacIdiomStyle : NSInteger;
```

## Overview

Overview If you build your app with 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](uikit/uibuttonconfigurationmacidiomstyle/uibuttonconfigurationmacidiomstyleautomatic.md)
- [UIButtonConfigurationMacIdiomStyleBordered](uikit/uibuttonconfigurationmacidiomstyle/uibuttonconfigurationmacidiomstylebordered.md)
- [UIButtonConfigurationMacIdiomStyleBorderless](uikit/uibuttonconfigurationmacidiomstyle/uibuttonconfigurationmacidiomstyleborderless.md)
- [UIButtonConfigurationMacIdiomStyleBorderlessTinted](uikit/uibuttonconfigurationmacidiomstyle/uibuttonconfigurationmacidiomstyleborderlesstinted.md)

## See Also

### Configuring the appearance on macOS

- [macIdiomStyle](uikit/uibuttonconfiguration/macidiomstyle.md)
