1. View Animation (uiviewanimation)
You can change the properties of the view (animatable UIView properties)
Frame: controls the size of the uiview and the relative position of the UIView in Superview.
bounds: control the size of the UIView
Center: control the location of the UIView
Transform: control the UIView of the zoom, rotation angle, etc. fixed in the center position after the change
Alpha: control the transparency of UIView
BackgroundColor: controls the background color of the UIView
Contentstretch: controlling the stretching of UIView
Uiviewanimateoptions
Animation control related
Layoutsubviews: The layout child control when the animation is submitted, indicating that the child control will animate with the parent control.
allowUserInteraction: Allows users to communicate when animating, such as touching
Beginfromcurrentstate: Start animation from current state
Repeat: Infinite repetition of animations
AutoReverse: Performing an animation loop, provided the animation is set to repeat infinitely
Overrideinheritedduration: Ignore execution time of outer animation nesting
Overrideinheritedcurve: Ignores time-varying curves for outer animation nesting
Allowanimatedcontent: Animating effects by changing properties and redrawing if key does not commit the animation will use the snapshot
Showhidetransitionviews: Replaces the animation effect of adding a removed layer in an explicit way
Overrideinheritedoptions: Ignore options for nested inheritance
Time Curve Correlation
Curveeasein: From slow to very fast
Curveeaseinout: from slow to fast
Curveeaseout: from fast to slow
Curvelinear: Constant speed
Transition effect Related
Transitionnone//No transition animation
Transitionflipfromleft//Transitions are flipped from left
Transitionflipfromright//transitions from right to flip
Transitioncurlup//Roll up transitions
Transitioncurldown//Lower volume transitions
Transitioncrossdissolve//transition cross disappears
Transitionflipfromtop//transitions from top to upside
Transitionflipfrombottom//transitions from bottom to upside
2. Core Animation (coreanimation)
iOS animation programming