In this episode I create a container view controller using the UIViewController containment APIs. The container view controller mimicks a style where the starting view controller fades into the background instead of sliding to the left.
Episode Links Episode Source Code UIViewController Class Reference - see "Implementing a Container View Controller" Adding a child view controller A few things need to happen, in order, when adding a child view controller: send willMoveToParentViewController: to the child view controller being added Call addChildViewController: to add it to the childViewControllers collection Add the child view into the view hierarchy Call didMoveToParentViewController: Removing a child view controller Similar to above, to remove a view controller, the following must be done (in order): Call willMoveToParentViewController: passing in nil as the argument Remove the view from the hierarchy Call removeFromParentViewController on the child view controller