UIButtonType UIButtonType Enum

Definition

An enumeration of predefined button types.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIButtonType
type UIButtonType = 
Inheritance
UIButtonTypeUIButtonType
Attributes

Fields

ContactAdd ContactAdd 5

The contact add button.

Custom Custom 0

No button style.

DetailDisclosure DetailDisclosure 2

Uses a detail disclosure button (arrow).

InfoDark InfoDark 4

Information button, dark background.

InfoLight InfoLight 3

Information button, light background.

Plain Plain 6

A standard system button.

RoundedRect RoundedRect 1

Rounded rectangle style. This style is deprecated as of iOS 7; developers should use System.

System System 1

Added in iOS 7, this is the preferred default style. It lacks visible edges, background, etc.

Remarks

The type of a UIButton.

Applies to