[Solved] Need help animating a view-switch
the solution was to replace the forView argument below
forView: curViewController.view cache:
with its container view, which happens to be the window, in my case:
forView: curViewController.view.window cache: YES];
I went back and read Apple's documentation again and, sure enough, the
answer was right there in the doc for UIView:
"If you want to change the appearance of a view during a transition—
for example, flip from one view to another—then use a container view,
an instance of UIView, as follows:
Begin an animation block.
Set the transition on the container view.
Remove the subview from the container view.
Add the new subview to the container view.
Commit the animation block."
Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to maillists@xxxxxxxxx