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

See Also: UIGravityBehavior Members


[Foundation.Register("UIGravityBehavior", true)]
public class UIGravityBehavior : UIDynamicBehavior


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


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