From 7577792dd8c80e6eca5175ca899f40bdb14390b6 Mon Sep 17 00:00:00 2001 From: Wojciech Nagrodzki <278594+wnagrodzki@users.noreply.github.com> Date: Sat, 21 Sep 2013 14:17:58 +0200 Subject: [PATCH] Beginning appearance transition just before view controller's view is added to view hierarchy --- .../VCCManualCallbacksViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViewControllerContainment/ViewControllerContainment/VCCManualCallbacksViewController.m b/ViewControllerContainment/ViewControllerContainment/VCCManualCallbacksViewController.m index 37e9675..301a71b 100644 --- a/ViewControllerContainment/ViewControllerContainment/VCCManualCallbacksViewController.m +++ b/ViewControllerContainment/ViewControllerContainment/VCCManualCallbacksViewController.m @@ -134,9 +134,9 @@ [fromViewController beginAppearanceTransition:NO animated:YES]; [self addChildViewController:toViewController]; - [toViewController beginAppearanceTransition:YES animated:YES]; toViewController.view.frame = self.containerView.bounds; toViewController.view.alpha = 0; + [toViewController beginAppearanceTransition:YES animated:YES]; [self.containerView addSubview:toViewController.view]; [UIView animateWithDuration:0.3