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

See Also: UIPushBehavior Members

Syntax

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

Remarks

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

Requirements

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