Reputation: 41745
I have a view which I want to move by dragging.
This view is in a view 1.
I'd like to move the view to view 2.
Where view 3 has view1 and view2 as subviews.
Is this possible or should I merge view1/view2?
Thanks.
Upvotes: 0
Views: 1256
Reputation: 4825
Once you start to detect the move, you could remove the view from view1 and add it to view3. When the move stops, you can remove it from view3 and add it to view2.
Upvotes: 0