Sets the curve to use when animating property changes within an animation block.
- iOS 2.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
If you specify your animations using begin/commit set of methods, you use this method to specify the type of curve you want to use for the animation. This method does nothing if called from outside of an animation block. It must be called between calls to the
commit methods. And you must call this method prior to changing the animatable properties of your views. The default value is
Use of this method is discouraged in iOS 4.0 and later. Instead, you should use the
animate method to specify your animations and the animation curve options.