views:

73

answers:

0

Hello,

I want to add a subview with animation. i am using add sub view so it is not showing any animation so i want to show any animation when i am doing this... i am using below code :-

UIViewController *vControllerHome = [[viewTemp alloc] initWithNibName:@"viewTemp" bundle:nil];
vControllerHome.view.frame =CGRectMake(0, 0, 320, 414);
[self.view addSubview:vControllerHome.view];
self.selectedViewController = vControllerHome;

Can any one suggest how i do this?

Thanks