AI-generated Key Takeaways
-
GCKUIMultistateButton
is a subclass ofUIButton
that supports multiple states, allowing you to assign different images for each state. -
You can set the image for a specific button state using the
setImage:forButtonState:
method. -
The
buttonState
property indicates the current application state of the button. -
This class is available since version 4.0 of the framework and is inherited by
GCKUIButton
.
Overview
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.
Instance Method Summary | |
(void) | - setImage:forButtonState: |
Sets the image to display for a given button state. More... | |
Property Summary | |
NSUInteger | buttonState |
The button's application state. More... | |
Method Detail
- (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.
Property Detail
|
readwritenonatomicassign |
The button's application state.