Dismiss Modal Then Perform Segue To Open A Second Modal
I have a HomeController that allows a user to login & register. If the user clicks login, I open a modal using a segue.

Inside the modal there is a button that says register. The desired action is to close the login modal and then open the registration modal using performSegueWithIdentifier

    - (void)loginControllerDidRegister:(LoginController *)controller sender:(id)sender
    {
        NSLog(@"loginControllerDidRegister");
        [self dismissViewControllerAnimated:YES completion:nil];
        [self performSegueWithIdentifier:@"RegistrationSegue" sender:sender];
    }

This correctly dismisses the modal, then it calls performSegueWithIdentifier, where I have logging code that shows it is being called just as if I had pressed the register button.

I think the animation of the login modal disappearing may be interfering with the display of the second modal. Any ideas on what can be done to fix this?

Dismiss Modal Then Perform Segue To Open A Second Modal
===

I have a HomeController that allows a user to login & register. If the user clicks login, I open a modal using a segue.

Inside the modal there is a button that says register. The desired action is to close the login modal and then open the registration modal using performSegueWithIdentifier

    - (void)loginControllerDidRegister:(LoginController *)controller sender:(id)sender
    {
        NSLog(@"loginControllerDidRegister");
        [self dismissViewControllerAnimated:YES completion:nil];
        [self performSegueWithIdentifier:@"RegistrationSegue" sender:sender];
    }

This correctly dismisses the modal, then it calls performSegueWithIdentifier, where I have logging code that shows it is being called just as if I had pressed the register button.

I think the animation of the login modal disappearing may be interfering with the display of the second modal. Any ideas on what can be done to fix this?
