self.splashView = UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
self.splashView.image = UIImage imageNamed:@"Default.png"];
self.window addSubview:self.splashView];
CATransition* animation = CATransition animation];
animation.delegate = self;
animation.type = @"rippleEffect";
animation.duration = 5.0f;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
self.splashView.layer addAnimation:animation forKey:nil];
self.splashView release];
函数执行了为什么没有效果呢 我想让一个图片有水波效果 求解!