Executes a view animation that uses a timing curve that corresponds to the activity of a physical spring.
Syntax
[Foundation.Export("animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public static
void AnimateNotify (
double duration,
double delay,
nfloat springWithDampingRatio,
nfloat initialSpringVelocity,
UIViewAnimationOptions options, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDAction))]
Action animations, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDUICompletionHandler))]
UICompletionHandler completion)
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.
- completion
The method to invoke when the animation has completed.
This parameter can be null.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0