quamen (owner)

Revisions

  • 29ad60 quamen Sun May 31 21:25:07 -0700 2009
gist: 121228 Download_button fork
public
Public Clone URL: git://gist.github.com/121228.git
Embed All Files: show embed
Objective-C #
1
2
3
4
5
6
7
8
9
10
11
12
splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)];
  splashView.image = [UIImage imageNamed:@"Default.png"];
  [window addSubview:splashView];
  [window bringSubviewToFront:splashView];
  [UIView beginAnimations:nil context:nil];
  [UIView setAnimationDuration:0.5];
  [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:window cache:YES];
  [UIView setAnimationDelegate:self];
  [UIView setAnimationDidStopSelector:@selector(startupAnimationDone:finished:context:)];
  splashView.alpha = 0.0;
  splashView.frame = CGRectMake(-60, -60, 440, 600);
  [UIView commitAnimations];