I have a couple of UIViews
in the same superview
. One view which is on top I want to be able to be dragged around the screen while multiple UIViews
beneath it react when it passes over them (the views on the bottom don't overlap). Right now, I have the draggable-view sending touch events to my UIViewController
using a delegate protocol which is where I'd like to do all the logic.
Essentially, I'd like to be able to find out what view my draggable view is currently over in the view controller. Is there any easy way to do this?