You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nevyn Bengtsson edited this page Mar 30, 2016
·
1 revision
FAQ
I can't start dragging my image view!
Q: I've registered an image view a DragSource, yet I can't start drags from it! If I break in the gesture recognizer, the view seems to be nil even though I know I'm dragging from the image.
A: Gesture recognizers only work on views that have userInteractionEnabled set to YES. UIImageView sets this to NO! If you manually set it to YES in your xib or in code, you will be able to drag from it. (I make this mistake all the time).