views:

17

answers:

1

I am creating a navigation based application. I have different views which are pushed and poped from navigation controller. (pop is mainly using back button). Here is the code i am using for pushing view controller.

MyViewController *dvController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil]; [self.navigationController pushViewController:dvController animated:YES]; [dvController release];

I would like the to set delay in animation when new view controller is pushed. Default slide animation in iphone is ok for me. But with some delay.

Is there any way to do this. Early reply is appreciated.

A: 

Wrap the above code in a method and call it with -performSelector:afterDelay:.

asandroq