imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];
imageView.image = [iBabyPubFunction ImageName:@"DefaultDay.png" IsPublic:NO Role:ROLE_UNKNOW];
imageView.alpha = 1.0;
[self.window.rootViewController.view addSubview:imageView];
[imageView release];
[NSTimer scheduledTimerWithTimeInterval:0.01 target:self selector:@selector(outAnimation) userInfo:nil repeats:NO];
-(void)outAnimation
{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:10.0];
[imageView setAlpha:0.0];
[UIView commitAnimations];
}
imageView.image = [iBabyPubFunction ImageName:@"DefaultDay.png" IsPublic:NO Role:ROLE_UNKNOW];
imageView.alpha = 1.0;
[self.window.rootViewController.view addSubview:imageView];
[imageView release];
[NSTimer scheduledTimerWithTimeInterval:0.01 target:self selector:@selector(outAnimation) userInfo:nil repeats:NO];
-(void)outAnimation
{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:10.0];
[imageView setAlpha:0.0];
[UIView commitAnimations];
}