UIKit.UIPushBehavior Class
Applies an instantaneous or continuous force vector to a UIKit.IUIDynamicItem.

See Also: UIPushBehavior Members


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


The UIPushBehavior.SetTargetOffset method can be used so that the force vector is applied to a location other than the IUIDynamicItem.Center location.

The unit used for force is the "UIKit Newton" which is defined as accelerating a (100,100)-sized view to 100 points / second^2. If the UIPushBehavior.Mode is UIPushBehaviorMode.Instantaneous, the velocity of the UIKit.IUIDynamicItem changes immediately.

After an instaneous push is applied, the UI Dynamics engine sets the value of UIPushBehavior.Active to false.

Related content


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