I have this working code for suck animation while transition
my code : CATransition *animation = [CATransition animation];
animation.delegate = self;
animation.duration = 2.0f;// * slider.value;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
animation.fillMode = kCAFillModeForwards;
animation.removedOnCompletion = NO;
animation.type = @"suckEffect";//103
animation.subtype = kCATransitionFromLeft ;
[animateView.layer addAnimation:animation forKey:@"animation"];
But the problem was while view is in portratit the animation happenends in left to right while it is is in landscape t…
my code : CATransition *animation = [CATransition animation];
animation.delegate = self;
animation.duration = 2.0f;// * slider.value;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
animation.fillMode = kCAFillModeForwards;
animation.removedOnCompletion = NO;
animation.type = @"suckEffect";//103
animation.subtype = kCATransitionFromLeft ;
[animateView.layer addAnimation:animation forKey:@"animation"];
But the problem was while view is in portratit the animation happenends in left to right while it is is in landscape t…