how to do undo on touch event...
I draw a line using touchesBegan,touchesMoved and touchesEnded.....
Now I want to do undo operation to get my previous state on iphone....
any one can help me how do undo operations on iphone?
thanks in advance....