views:

27

answers:

0

When calling subview, how can I add animations something like facebook?

I'm having following code

[self.firstView removeFromSuperview];
[self.view addSubview:secondView];

I want first view to be removed slowly towards left and second view to be added slowly from right. So that it will visualize scroll view kind of operation.