then show view of B controller:
[self presentModalViewController:testViewController animated:YES];
[testViewController release];
jump back to view of A controller
[self dismissModelViewControllerAnimated:YES];
#define AppDelegate (MyAppDelegate *)[[UIApplication sharedApplication] delegate]
then use AppDelegate in the code
1. execute function in the future
- (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay;
ex: [self performSelector:@selector(sing:) withObject:nil afterDelay:1.4];
2. use timer
(NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;