Added beginAppearanceTransition and endAppearanceTransition to both the fromViewController and toViewController to ensure that both would properly call their viewWillAppear, viewDidAppear, viewWillDisappear, viewDidDisappear methods when transitioning from one to the other
Added
beginAppearanceTransition
andendAppearanceTransition
to both thefromViewController
andtoViewController
to ensure that both would properly call theirviewWillAppear
,viewDidAppear
,viewWillDisappear
,viewDidDisappear
methods when transitioning from one to the other