TiUIViewController Protocol Reference
Declared in | TiViewController.h |
Tasks
-
– childViewController
Returns the child view controller, if any.
required method -
– viewWillAppear:
Tells the view controller that its view will appear.
required method -
– viewDidAppear:
Tells the view controller that its view did appear.
required method -
– viewWillDisappear:
Tells the view controller that its view will disappear.
required method -
– viewDidDisappear:
Tells the view controller that its view did disappear.
required method -
– willAnimateRotationToInterfaceOrientation:duration:
Tells the view controller that its view will be rotated to interface orientation.
-
– ignoringRotationToOrientation:
Tells the view controller to ignore rotation to specified orientation.
Instance Methods
childViewController
Returns the child view controller, if any.
- (UIViewController *)childViewController
Return Value
The child view controller.
Declared In
TiViewController.h
ignoringRotationToOrientation:
Tells the view controller to ignore rotation to specified orientation.
- (void)ignoringRotationToOrientation:(UIInterfaceOrientation)orientation
Parameters
- orientation
The orientation to ignore.
Declared In
TiViewController.h
viewDidAppear:
Tells the view controller that its view did appear.
- (void)viewDidAppear:(BOOL)animated
Parameters
- animated
The animation flag.
Discussion
Called when the view has been fully transitioned onto the screen.
Declared In
TiViewController.h
viewDidDisappear:
Tells the view controller that its view did disappear.
- (void)viewDidDisappear:(BOOL)animated
Parameters
- animated
The animation flag.
Discussion
Called after the view was dismissed, covered or otherwise hidden.
Declared In
TiViewController.h
viewWillAppear:
Tells the view controller that its view will appear.
- (void)viewWillAppear:(BOOL)animated
Parameters
- animated
The animation flag.
Discussion
Called when the view is about to made visible.
Declared In
TiViewController.h
viewWillDisappear:
Tells the view controller that its view will disappear.
- (void)viewWillDisappear:(BOOL)animated
Parameters
- animated
The animation flag.
Discussion
Called when the view is dismissed, covered or otherwise hidden.
Declared In
TiViewController.h
willAnimateRotationToInterfaceOrientation:duration:
Tells the view controller that its view will be rotated to interface orientation.
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
Parameters
- toInterfaceOrientation
The target interface orientation.
- duration
The duration of the rotation animation.
Declared In
TiViewController.h