Specifies the style of a button.



case custom

No button style.

case system

A system style button, such as those shown in navigation bars and toolbars.

case detailDisclosure

A detail disclosure button.

case infoLight

An information button that has a light background.

case infoDark

An information button that has a dark background.

case contactAdd

A contact add button.

case plain

A standard system button without a blurred background view.

static var roundedRect: UIButtonType

A rounded-rectangle style button.

See Also

Creating Buttons

init(type: UIButtonType)

Creates and returns a new button of the specified type.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software