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 buttonState property.

GCKUIMultistateButton Class Reference

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

Sets the image to display for a given button state. More...

Property Summary

NSUInteger 
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

- (NSUInteger) buttonState
read write nonatomic assign

The button's application state.

Create a Mobile Website
View Site in Mobile | Classic
Share by: