When to use addChildViewController vs pushViewController

Yes, pushViewController: is for navigation controllers that manage a stack of view controllers. addChildViewController: on the other hand is part of an iOS 5 feature called “view controller containment”. The basic idea behind this is that you can embed your view controllers into other view controllers of your own (e.g. when porting an iPhone app … Read more