Here’s what I did for the silver challenge solution.
//for the Silver Challenge
pressRecognizer=[[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPress:)];
In TouchDrawView.h add
Then the only thing left is to add this to the beginning of MoveLine:
//Add this to fix a bug for silver challenge. //the selected line can only be moved when the long press is already happening. //Now you can draw a new line, while still keeping the other line selected //and it's menu visible if ([pressRecognizer state]==UIGestureRecognizerStatePossible) return;