Contents

macIdiomStyle

The style to use when this button appears in macOS.

Declaration

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

Discussion

Use this property when building your app with Mac Catalyst. The value UIButtonConfigurationMacIdiomStyleAutomatic lets the system choose the appropriate style. Select a specific style to force the button to always use that style.

See Also

Configuring the appearance on macOS