-
-
Save martinjuhasz/f13b1da4114b7d8691d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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