GCKUIMultistateButton Class
-
GCKUIMultistateButton is a subclass of UIButton that supports multiple states.
-
Images can be assigned to each state using the
setImage:forButtonState:method. -
The button's current application state is managed by the
buttonStateproperty.
A subclass of UIButton that supports multiple states.
Assign an image to each state with the setImage:forButtonState: (GCKUIMultistateButton) method.
- Since
- 4.0
Inherits UIButton.
Inherited by GCKUIButton.
Property Summary | |
| NSUInteger | buttonState |
| The button's application state. More... | |
| - (void) setImage: | (UIImage *) | image | |
| forButtonState: | (NSUInteger) | buttonState | |
Sets the image to display for a given button state.
- Parameters
-
image The image. buttonState The button state.
|
- (NSUInteger) buttonState |
readwritenonatomicassign |
The button's application state.