CATransition anti = [CATransition animation];
anti.type = @"rippleEFFect";
[anti setDuration:1];
[anti setRepeatCount:1.0];
[button.layer addAnimation:anti forKey:@"s rippleEffect"]; 此效果需个背景颜色和设背景图片
CATransition anti = [CATransition animation];
anti.type = @"rippleEFFect";
[anti setDuration:1];
[anti setRepeatCount:1.0];
[button.layer addAnimation:anti forKey:@"s rippleEffect"]; 此效果需个背景颜色和设背景图片