To understand how build a view container of navigationcontroller, the best way is to recreate the UITabBarController.