GCKUIUtils Class
Stay organized with collections
Save and categorize content based on your preferences.
User interface utility methods.
- Since
- 3.0
Inherits NSObject.
|
(UIViewController *__nullable) | + currentViewController |
| Returns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller. More...
|
|
(NSString *) | + timeIntervalAsString: |
| Formats a time interval in MM:SS or H:MM:SS format. More...
|
|
+ (UIViewController *__nullable) currentViewController |
|
|
|
Returns the currently active view controller, by navigating through the view controller hierarchy beginning with the root view controller.
+ (NSString *) timeIntervalAsString: |
|
(NSTimeInterval) |
timeInterval |
|
Formats a time interval in MM:SS or H:MM:SS format.
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."],[[["The `GCKUIUtils` class provides user interface utility methods for iOS development within the Google Cast framework."],["It offers a method to retrieve the currently active view controller within the application's view hierarchy."],["Another method formats a given time interval into a readable string representation (MM:SS or H:MM:SS)."],["These utilities simplify common UI tasks when building Cast-enabled applications."]]],[]]