UIKit.UIView.AnimateNotifyAsync Method
Executes a view animation that uses a timing curve that corresponds to the activity of a physical spring.

Syntax

public static System.Threading.Tasks.Task<bool> AnimateNotifyAsync (double duration, double delay, nfloat springWithDampingRatio, nfloat initialSpringVelocity, UIViewAnimationOptions options, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))] Action animations)

Parameters

duration
Duration in seconds for the animation.
delay
Delay before the animation begins.
springWithDampingRatio
Damping ratio set for spring animation when it is approaching its quiescent state. Value between 0 and 1 representing the amount of damping to apply to the spring effect.
initialSpringVelocity
Initial spring velocity prior to attachment. The initial velocity of the spring, in points per second.
options
Animation options.
animations
Code containing the changes that you will apply to your view.

Returns

A task that represents the asynchronous AnimateNotify operation. The value of the TResult parameter is a UIKit.UICompletionHandler.

Remarks

The AnimateNotifyAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0