In my iPhone application i want do draw different shapes like line, circle and what i want that i want to move those shapes one by one on finger touch. I can draw different shapes but dont know how to move that shape like line and circle.
I have used uiimageview to draw. Please help .
Create a custom
UIViewfor drawing a shape, implementdrawRectto draw the shape in it, and implement thetouchesBegan,touchesMovedandtouchesEndedto move the same, now each time you want to add a new drawing to yourmain view, create a new instance of yourDrawingUIViewand add it to the main viewEach drawing will have its
DrawingUIView, moving these shapes will be done as you would normally move anyUIViewusing the touches events