tags:

views:

32

answers:

1

i am using tabbarcontroller. In tabbar having one view.In that tab i call one function using Nstimer it open another viewcontroller.

First * sVC = [[First alloc] initWithNibName:@"First" bundle:[NSBundle mainBundle]]; 
[self presentModalViewController:sVC animated:YES];

Opened viewcontrller having one button.when user click that button i want to close the view and call Nstimer.

[self dismissModalViewControllerAnimated:NO]

The problem is first the view opened and closed but second time view could not open.

+1  A: 

This answer might be helpful to you.

Thanks, Madhup

Madhup
Link answers are not ideal. Link, but explain.
T.J. Crowder