Skip to content

Instantly share code, notes, and snippets.

@zeedark
Created January 27, 2012 18:57
Show Gist options
  • Save zeedark/1690332 to your computer and use it in GitHub Desktop.
Save zeedark/1690332 to your computer and use it in GitHub Desktop.
Horizontal flip transition of a modal view
// Horizontal flip transition of a modal view
MyViewController *av = [[[MyViewController alloc] init] autorelease];
[av setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal];
[av setModalPresentationStyle:UIModalPresentationCurrentContext];
[self presentModalViewController:av animated:YES];
[av release];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment