Thursday, June 2, 2011

water effect with basic animation iphone sdk

I have found a good animation effect from google (Hidden Property)

CATransition *transition = [CATransition animation];
transition.type = @"rippleEffect";
transition.duration = 1.0f;
transition.timingFunction = UIViewAnimationCurveEaseInOut;
[self.view.layer addAnimation:transition forKey:@"transitionViewAnimation"];

we can use suckEffect and spewEffect similarly

1 comment:

  1. i used this effect in my project...
    thanks for this nice and valuable update