I’m trying to achieve a Drag and Drop menu affect. I’m not sure how to go about this, perhaps someone has experience with this exact effect.
Quite simply, when a user touches down on a menu item, I want a graphic to appear at their touch location. Their touch will now control the panning of the graphic. Upon releasing the touch, the graphic will sit in its place and assume full alpha.
I’m already familiar with creating pan gestures and instantiating a graphic. So far, I can create the graphic where the menu item is touched. The biggest issue is how I “pass over” the touch gesture so it is a single and continuous motion.
Also, should the menu item be UIButton or UIImageView?
Any help appreciated. Thanks

I had some fun with this one. The following code will grab the image from the button when touched, drag that image at alpha=0.5, and drop it wherever your touches end at alpha=1.0. It will continue to be draggable thereafter.
After importing QuartzCore, create a new file. The .h should read:
and the .m should read:
Now in your main view controller, add:
The imageButton in this case would be your apple Button. Now in your .m file, add this:
Et voila! Connect your button, set its image, and throw copies all over the screen. 🙂
Note: I didn’t comment much, but would be happy to answer any questions.
Cheers!
EDIT: fixed the
-(void)draw:(UIImage *)image{}so that it would resize the image properly.