How can I detect strokes in a UIviewController
for a UIView
with only code (without the Builder interface)?
I found the touchhesBegan method, but it is never called. I have not initialized anything else in this method.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
source share