Declared in TiViewController.h

Overview

The protocol for view controllers.

Tasks

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