Skip to content

Instantly share code, notes, and snippets.

@martinjuhasz
Created May 3, 2011 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinjuhasz/f13b1da4114b7d8691d6 to your computer and use it in GitHub Desktop.
Save martinjuhasz/f13b1da4114b7d8691d6 to your computer and use it in GitHub Desktop.
- (void)navigator:(TTBaseNavigator*)navigator willOpenURL:(NSURL*)URL inViewController:(UIViewController*)controller {
if(![[navigator visibleViewController] isKindOfClass:[LauncherViewController class]]) {
return;
}
if([[controller class] isKindOfClass:[LauncherViewController class]]) {
return;
}
controller.view.transform = CGAffineTransformMakeScale(0.01, 0.01);
[UIView beginAnimations:@"animationExpand" context:NULL];
[UIView setAnimationDuration:0.6f];
controller.view.transform=CGAffineTransformMakeScale(1, 1);
[UIView setAnimationDelegate:self];
[UIView commitAnimations];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment