Contents

UIButtonConfigurationMacIdiomStyle

The button style your app uses when running in macOS.

Declaration

enum UIButtonConfigurationMacIdiomStyle : NSInteger;

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

See Also

Configuring the appearance on macOS