dragkit icon indicating copy to clipboard operation
dragkit copied to clipboard

DragKit sometimes not working on iPad

Open pbernery opened this issue 14 years ago • 0 comments

Hi,

I got a strange behavior on iPad 2 only (not on iPad 1): drag was not working. The gesture recognizer was correctly added on the main window but it never called the associated selector. After some guesses, I saw on the DragKit commit log that you moved the gesture recognizer from a view to the main window. I tried to add the gesture recognizer on the parent view of the elements that have to be dragged and it worked. Unfortunately, I did'nt manage to understand why it didn't work when setting gesture on the main window. My bunch of code is not really API friendly so I will not post it here, but I think DragKit should at least let the developer choose to get gestures from the main window or from a given view.

pbernery avatar Jun 27 '11 16:06 pbernery