wait after presentModalViewController
- by Cesar
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;
}