Skip to content

Instantly share code, notes, and snippets.

@tvon
Created February 18, 2013 16:15
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 tvon/4978516 to your computer and use it in GitHub Desktop.
Save tvon/4978516 to your computer and use it in GitHub Desktop.
[UIView transitionWithView:self.view
duration:0.25
options:UIViewAnimationOptionsTransitionCrossDissolve
animations:^{
[self.view addSubview:overlay];
}
completion:nil];
[UIView transitionWithView:self.navigationController.view
duration:0.25
options:UIViewAnimationOptionsTransitionCrossDissolve
animations:^{
[self.navigationController.view addSubview:overlay];
}
completion:nil];
[UIView transitionWithView:self.tabBarController.view
duration:0.25
options:UIViewAnimationOptionsTransitionCrossDissolve
animations:^{
[self.tabBarController.view addSubview:overlay];
}
completion:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment