I have the following UI on an iPad app:
Here is an explanation of what's going on:
- Blue area is the View attached to the (displayed) ViewController.
- Yellow area is an UIImageView where users can drag items around (what I call the live area). Yellow is a subview of blue area.
- Red item is an UIImageView that has a UIPanGestureRecognizer attached. Its a subview of yellow area.
- Red item can be dragged, as long as the dragging starts from inside the live (yellow) area.
On the situation on the image shown above, I want to be able to drag the red item from any point on its surface. (not only from the area where it intersects the (yellow) area)
Any ideas?
Thanks!