March 2012
Intermediate to advanced
590 pages
22h 48m
English
Right now, the TouchDrawView clears its lines whenever the user double taps. Keep this same functionality but have a gesture recognizer perform the recognition of the double tap instead of touchesBegan:withEvent:. Make sure you remove the following code from touchesBegan:withEvent:.
if ([t tapCount] > 1) {
[self clearAll];
return;
}
Read now
Unlock full access