I m developing iPhone app for aquarium. In that i used ripple effect code as follows:
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:0.6];
[animation setTimingFunction: [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
animation.type = @"rippleEffect";
animation.subtype = kCATransitionFromLeft;
animation.fillMode = kCAFillModeBackwards;
animation.startProgress = 0.4;
[animation setRemovedOnCompletion:NO];
[self.view.layer addAnimation:animation forKey:@"rippleEffect"];
[self performSelector:@selector(fn_btnOperation) withObject:nil afterDelay:0.40];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.70];
它发挥了巨大作用,但问题在于说这一估计:我的表象、案文概览、滚动观点没有适当发挥作用。 事态发展正在拖延,不顺利。 是否有人解决这一问题?