UIView animation type

UIViewAnimationOptionLayoutSubviews //Layout the subcontrols when submitting animation, indicating that the subcontrols will animate together with the parent control.

UIViewAnimationOptionAllowUserInteraction //Allow users to communicate during animation, such as touch

UIViewAnimationOptionBeginFromCurrentState //Start animation from the current state

UIViewAnimationOptionRepeat //Animation repeats infinitely

UIViewAnimationOptionAutoreverse //Execute animation loop, provided that the animation is set to repeat infinitely

UIViewAnimationOptionOverrideInheritedDuration //Ignore the execution time of the outer animation nesting

UIViewAnimationOptionOverrideInheritedCurve //Ignore the time curve of the outer animation nest

UIViewAnimationOptionAllowAnimatedContent //Achieve animation effects by changing properties and redrawing. If the key is not submitted for animation, a snapshot will be used.

UIViewAnimationOptionShowHideTransitionViews //Use the hidden method to replace the animation effect of adding and removing layers

UIViewAnimationOptionOverrideInheritedOptions //Ignore nested inherited options

//Time function curve related

UIViewAnimationOptionCurveEaseInOut //Time curve function, from slow to fast

UIViewAnimationOptionCurveEaseIn //Time curve function, from slow to extremely fast

UIViewAnimationOptionCurveEaseOut //Time curve function, from fast to slow

UIViewAnimationOptionCurveLinear //Time curve function, constant speed

//Transition animation related

UIViewAnimationOptionTransitionNone //No transition animation

UIViewAnimationOptionTransitionFlipFromLeft //Transition flips from left

UIViewAnimationOptionTransitionFlipFromRight //Transition flip from right

UIViewAnimationOptionTransitionCurlUp //Scroll up transition

UIViewAnimationOptionTransitionCurlDown //Scroll down transition

UIViewAnimationOptionTransitionCrossDissolve //Transition cross disappears

UIViewAnimationOptionTransitionFlipFromTop //Transition flips from top

UIViewAnimationOptionTransitionFlipFromBottom //Transition flips from bottom to bottom

Guess you like

Origin blog.csdn.net/mofengluo/article/details/78816046
Recommended