wait after presentModalViewController
Posted
by Cesar
on Stack Overflow
See other posts from Stack Overflow
or by Cesar
Published on 2010-05-10T02:46:42Z
Indexed on
2010/05/10
2:48 UTC
Read the original article
Hit count: 316
iphone-sdk
|modal-view
I need to wait (don't execute the code) after the presentModalViewController until the modal view it's dismissed, it's possible or it's a conceptual error ?
-(NSDictionary *)authRequired
{
[self presentModalViewController:loginRegView animated:YES]; //This view write the settings when dismissed.
NSMutableDictionary *ret=[[NSMutableDictionary alloc] init];
[ret setObject:[app.settings get:@"user"] forKey:@"user"];
[ret setObject:[app.settings get:@"pass"] forKey:@"pass"];
return ret;
}
© Stack Overflow or respective owner