UIView.SetAnimationDuration(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the duration for this animation transaction.
[Foundation.Export("setAnimationDuration:")]
public static void SetAnimationDuration (double duration);
static member SetAnimationDuration : double -> unit
Parameters
- duration
- Double
Duration in seconds.
- Attributes
Remarks
The use of this method is discouraged. Application developers should prefer to use the UIViewPropertyAnimator class to animate UIViews.