Transfer animation excessive effect (Private API), transfer api
There are many types of switches in the lower bound of the IOS system, but we found that there are only one or two switches in use. In fact, this is related to Apple's philosophy, that is, a simple and unified interface. In this way, users can easily use other products as long as they have used their products. However, with the development of mobile terminals, people have higher and higher requirements, and their learning capabilities are constantly improved. The interface also tends to be "harmonious" in human-computer interaction ".
It is also necessary to set the corresponding animation effects based on different scenarios. Here is the transition effect of a private transfer Animation:
Fade
Excessive cross-Fade Effect
Push
The new view releases the old view
MoveIn
Move the New View to the old view
Reveal
Remove the old view to display the New View
Cube
Cube tumble Effect
OglFlip
Effects of turning up, down, left, and right
SuckEffect
Shrink effect, such as a piece of cloth being extracted
RippleEffect
Water drop effect (like a drop of water on the screen, then ripple)
PageCurl
Page flip
PageUnCurl
Page flip down
CameraIrisHollowOpen
Camera Lens opening Effect
CameraIrisHollowClose
Camera Lens off Effect
Transition animation CATransition has two basic attributes: "type" and "subtype". They are set to the animation type (type as above) and animation direction. (Some animations cannot be set without the animation direction)
Easy to use
CATransition * transition = [[CATransitionalloc] init];
Transition. duration =. 5;
Transition. type = @ "cube ";
Transition. subtype = kCATransitionFromRight;
SecendViewController * secend = [[SecendViewControlleralloc] init];
[Self. navigationController. view. layer addAnimation: transition forKey: nil];
[Self. navigationControllerpushViewController: secendanimated: YES];