I am trying to implement a feel like drag and drop of label in iphone.I am able to drag and drop inside a single view.But if i try to to drag the label from my view to another view added on the window, the label goes below the second view(added to window).But i want to drag the label over the second view(added to window).How can i achieve this? Please help me out.Thanks.
A:
Instead of having the label and your second view as subviews of window, make them both subviews of a view which you add to the window. Within that view,
[self bringSubviewToFront: label];
William Jockusch
2010-10-07 16:42:54