TiRootController Protocol Reference
Declared in | TiRootController.h |
Tasks
-
– windowFocused:
Tells the root controller that a window became focused.
required method -
– windowClosed:
Tells the root controller that a window was closed.
required method -
– resizeView
Tells the root controller to resize its view to the size of main screen.
required method -
– repositionSubviews
Tells the root controller to reposition all its subviews.
required method -
– willHideViewController:animated:
Tells the root controller that the view controller will hide.
required method -
– didHideViewController:animated:
Tells the root controller that the view controller was hidden.
required method -
– willShowViewController:animated:
Tells the root controller that the view controller will show.
required method -
– didShowViewController:animated:
Tells the root controller that the view controller was shown.
required method -
– didKeyboardFocusOnProxy:
Tells the root controller that the keyboard received a focus.
required method -
– didKeyboardBlurOnProxy:
Tells the root controller that the keyboard was blurred.
required method -
– isTopWindow:
Whether or not the window proxy is the top window.
required method
Instance Methods
didHideViewController:animated:
Tells the root controller that the view controller was hidden.
- (void)didHideViewController:(UIViewController *)viewController animated:(BOOL)animated
Parameters
- viewController
The view controller hidden.
- animated
The animation flag.
Declared In
TiRootController.h
didKeyboardBlurOnProxy:
Tells the root controller that the keyboard was blurred.
- (void)didKeyboardBlurOnProxy:(TiViewProxy<TiKeyboardFocusableView> *)blurredProxy
Parameters
- blurredProxy
The view proxy that blurred keyboard focus.
Declared In
TiRootController.h
didKeyboardFocusOnProxy:
Tells the root controller that the keyboard received a focus.
- (void)didKeyboardFocusOnProxy:(TiViewProxy<TiKeyboardFocusableView> *)visibleProxy
Parameters
- visibleProxy
The view proxy that received keyboard focus.
Declared In
TiRootController.h
didShowViewController:animated:
Tells the root controller that the view controller was shown.
- (void)didShowViewController:(UIViewController *)viewController animated:(BOOL)animated
Parameters
- viewController
The view controller shown.
- animated
The animation flag.
Declared In
TiRootController.h
isTopWindow:
Whether or not the window proxy is the top window.
- (BOOL)isTopWindow:(TiWindowProxy *)window
Parameters
- window
The window proxy
Return Value
YES if the window proxy is the top window, NO otherwise.
Declared In
TiRootController.h
repositionSubviews
Tells the root controller to reposition all its subviews.
- (void)repositionSubviews
Declared In
TiRootController.h
resizeView
Tells the root controller to resize its view to the size of main screen.
- (CGRect)resizeView
Return Value
The bounds of the view after resize.
Declared In
TiRootController.h
willHideViewController:animated:
Tells the root controller that the view controller will hide.
- (void)willHideViewController:(UIViewController *)viewController animated:(BOOL)animated
Parameters
- viewController
The view controller to hide.
- animated
The animation flag.
Declared In
TiRootController.h
willShowViewController:animated:
Tells the root controller that the view controller will show.
- (void)willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
Parameters
- viewController
The view controller to show.
- animated
The animation flag.
Declared In
TiRootController.h