UIKit.UIGravityBehavior Class
A UIKit.UIDynamicBehavior that models a gravity vector.

See Also: UIGravityBehavior Members

Syntax

[Foundation.Register("UIGravityBehavior", true)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public class UIGravityBehavior : UIDynamicBehavior

Remarks

A UIKit.UIGravityBehavior is a UIKit.UIDynamicBehavior that applies a gravity vector defined by UIGravityBehavior.Direction and UIGravityBehavior.Magnitude to the UIKit.IUIDynamicItems in its UIGravityBehavior.Items array.

The gravity vector is defined using the UIKit Gravity constant of 1000 points/second^2.

UIKit.IUIDynamicItems can be added and removed dynamically from the UIGravityBehavior.Items array.

Related content

Requirements

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