A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_u_i_multistate_button below:

GCKUIMultistateButton Class | Cast | Google for Developers

GCKUIMultistateButton Class

Stay organized with collections Save and categorize content based on your preferences.

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.

- (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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKUIMultistateButton` is a subclass of `UIButton` 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`."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4