Instance Methods | |
(UIWindowScene *activeWindowScene) | - API_AVAILABLE |
Class Methods | |
(NSBundle *) | + bundle:channel: |
(UIImage *) | + imageNamed:bundle:channel: |
(NSString *) | + getLocalizedString:inAppboyBundle:table: |
(BOOL) | + objectIsValidAndNotEmpty: |
(Class) | + getModalFeedViewControllerClass |
(BOOL) | + isNotchedPhone |
(UIInterfaceOrientation) | + getInterfaceOrientation |
(CGSize) | + getStatusBarSize |
(UIColor *) | + dynamicColorForLightColor:darkColor: |
(BOOL) | + string:isEqualToString: |
(BOOL) | + responderChainOf:hasKindOfClass: |
(BOOL) | + responderChainOf:hasClassPrefixedWith: |
(UIFont *) | + preferredFontForTextStyle:weight: |
(void) | + enableAdjustsFontForContentSizeCategory: |
Properties | |
UIWindow * | activeApplicationWindow |
UIViewController * | activeApplicationViewController |
BOOL | applicationStatusBarHidden |
UIStatusBarStyle | applicationStatusBarStyle |
- (UIWindowScene* activeWindowScene) API_AVAILABLE | (ios(13.0)) |
The currently active UIWindowScene.
+ (NSBundle *) bundle: | (Class) | bundleClass | |
channel: | (ABKChannel) | channel | |
Given a class and a channel, this method searches across multiple locations and returns the appropriate bundle.
bundleClass | The class associated with the bundle. |
channel | The channel associated with the bundle. |
+ (void) enableAdjustsFontForContentSizeCategory: | (id) | label |
Enables adjustsFontForContentSizeCategory
on the label if available (iOS 10+).
This method has no effect on iOS / tvOS versions prior to 10.0.
label | Any object conforming to UIContentSizeCategoryAdjusting |
+ (UIFont *) preferredFontForTextStyle: | (UIFontTextStyle) | textStyle | |
weight: | (UIFontWeight) | weight | |
Creates an instance of the font associated with the text style and scaled appropriately for the user's selected content size category.
textStyle | The text style to use |
weight | The weight of the font |
+ (BOOL) responderChainOf: | (UIResponder *) | responder | |
hasClassPrefixedWith: | (NSString *) | prefix | |
Verifies that one of the responders in the responder chain is prefixed by prefix.
responder | The start of the UIResponder chain. |
prefix | The prefix looked for in the responder chain. |
+ (BOOL) responderChainOf: | (UIResponder *) | responder | |
hasKindOfClass: | (Class) | aClass | |
Verifies that one of the responders in the responder chain is kind of class aClass.
responder | The start of the UIResponder chain. |
aClass | The UIResponder subclass looked for in the responder chain. |
|
readnonatomicassign |
The currently active application UIViewController.
|
readnonatomicassign |
The currently active application UIWindow.
|
readatomicassign |
The current application status bar hidden state.
|
readatomicassign |
The current application status bar style.