Make sure that viewDidLoad is called before viewWillAppear on the contentViewController by making sure to call [controller view] before calling [controller beginAppearanceTransition:animated:]