Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flipping back to source view controller #3

Open
AnthonyFaxlandez opened this issue Jan 8, 2013 · 2 comments
Open

Flipping back to source view controller #3

AnthonyFaxlandez opened this issue Jan 8, 2013 · 2 comments

Comments

@AnthonyFaxlandez
Copy link

I have this working perfectly segueing from view controller A to view controller B. When I dismiss B though it does the standard model dismissal animation. I noticed in your video you were able to get back to your original view controller fully animated. Am I missing something?

@MSch
Copy link
Contributor

MSch commented Jan 14, 2013

Pretty sure that's not supported.

I'm currently looking into how to accomplish flipping back, the relevant code should be in here:

@implementation GC3DFlipTransitionStyleSegue

- (void)perform
{
    GC3DFlipTransitionStyleViewController *flipViewController = [[GC3DFlipTransitionStyleViewController alloc] init];

    flipViewController.sourceView = [self.sourceViewController view];
    flipViewController.destinationView = [self.destinationViewController view];
    flipViewController.disableMultisampling = self.disableMultisampling;
    flipViewController.disableLightEffect = self.disableLightEffect;
    flipViewController.depth = self.depth;

    [self.sourceViewController presentViewController:self.destinationViewController animated:NO completion:nil];
    [self.destinationViewController presentViewController:flipViewController animated:NO completion:nil];
}

@end

@ageorgios
Copy link

did anyone succeed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants