Вы можете добавить flashView
к вашему RootViewController.view
в viewDidLoad
:
flashView = [...]; // save reference to this object
flashView.alpha = 1.0;
[self.view addSubview:flashView];
И после applicationDidFinishLaunching
анимировать альфа-свойство к 0,0 в RootViewController
viewDidAppear
:
NSTimeInterval duration = 1.0;
int curve = UIViewAnimationCurveLinear;
// Setup the animation
[UIView beginAnimations:@"splash fade out" context:NULL];
[UIView setAnimationDuration:duration];
[UIView setAnimationCurve:curve];
[UIView setAnimationBeginsFromCurrentState:YES];
// change alpha
flashView.alpha = 0.0;
// Commit the changes
[UIView commitAnimations];