First, comments
Create a core animation catransition *ca=[catransition animation]; Tell what animations to perform //set over effects [email protected] "cube"; Sets the over direction of the animation (left) ca.subtype=kcatransitionfromleft; Set the animation time ca.duration=2.0; Add animations
Second, example: interface a push to interface B
Catransition *ca = [catransition animation];
ca.type = @ "Fade"; Gradient
ca.type = @ "Push";
ca.type = @ "reveal";
ca.type = @ "Cube"; Blocks
ca.type = @ "Suckeffect"; Like a tablecloth to be pumped away
ca.type = @ "Pageuncurl"; Combined page effect
ca.type = @ "Rippleeffect"; The effect of water droplets ripple
ca.type = @ "Pagecurl"; Turn page effect
Ca.subtype = @ "Fromleft";
Ca.subtype = @ "Fromright";
ca.Subtype=@ "Frombottom";
ca.Duration = 2.0;
[self. Navigationcontroller pushviewcontroller: jsadsvc animated:NO];
[self. Navigationcontroller. View. Layer addanimation: CA forkey:nil];
Transition Animation Part noun explanation