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
- 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
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...