Class UIDragInteraction

All Implemented Interfaces:
NSObjectProtocol, UIInteraction, ObjCProtocol

public class UIDragInteraction
extends NSObject
implements UIInteraction
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • UIDragInteraction

      protected UIDragInteraction()
    • UIDragInteraction

      protected UIDragInteraction​(NSObject.Handle h, long handle)
    • UIDragInteraction

      protected UIDragInteraction​(NSObject.SkipInit skipInit)
    • UIDragInteraction

      public UIDragInteraction​(UIDragInteractionDelegate delegate)
  • Method Details

    • getDelegate

      public UIDragInteractionDelegate getDelegate()
    • allowsSimultaneousRecognitionDuringLift

      public boolean allowsSimultaneousRecognitionDuringLift()
    • setAllowsSimultaneousRecognitionDuringLift

      public void setAllowsSimultaneousRecognitionDuringLift​(boolean v)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled​(boolean v)
    • isEnabledByDefault

      public static boolean isEnabledByDefault()
    • getView

      public UIView getView()
      Specified by:
      getView in interface UIInteraction
    • init

      protected long init​(UIDragInteractionDelegate delegate)
    • willMoveToView

      public void willMoveToView​(UIView view)
      Specified by:
      willMoveToView in interface UIInteraction
    • didMoveToView

      public void didMoveToView​(UIView view)
      Specified by:
      didMoveToView in interface UIInteraction