views:

56

answers:

2

How do I animate adding sub views to a view?

I know it animates when you use a navigation controller however is it possible to animate around this code:

[self.view addSubview:myVC.view];
+1  A: 

iphone-sdk-animating-subview

willcodejavaforfood
A: 

You can use either a 'CATransition' or a UIView animation, depending on what animation you want to do.

Joshua Weinberg
Thanks mate, you rock!
TheLearner