4 Replies
      Latest reply on Jul 28, 2017 2:25 AM by KlemensStrasser
      KlemensStrasser Level 2 Level 2 (35 points)

        Hey,

         

         

        I'm currently working on implementing dragging an custom view, which has a button spanned over it. Starting the drag works without any problem because this requires a long press on the view. Problems arise if I want to add another custom view to this drag session via tapping onto it. Tapping on the view will automatically trigger the UIControlEventTouchUpInside event of the button and thus, the dragInteraction:itemsForAddingToSession:withTouchAtPoint: will never be called. Is there any way to kinda give the UIDragAddItemsGesture a higher priority over the UIControlEventTouchUpInside of the button?