problem in presentmodelviewcontroller?
Posted
by Bala
on Stack Overflow
See other posts from Stack Overflow
or by Bala
Published on 2010-06-04T04:42:33Z
Indexed on
2010/06/04
6:09 UTC
Read the original article
Hit count: 179
iphone
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.
© Stack Overflow or respective owner