TheLearner
TheLearner

Reputation: 19507

How do I animate adding subviews?

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];

Upvotes: 2

Views: 215

Answers (2)

Joshua Weinberg
Joshua Weinberg

Reputation: 28688

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

Upvotes: 1

Related Questions