I have just discovered the Gesture Recognizers in IB and I would like to make use of them. I've tried out the Tap Gesture Recognizer however it doesn't seem to work. Here is what I've done...
Dragged and dropped the 'Tap Gesture Recognizer' into my view controller in IB.
Added the following method to the .m file...
- (IBAction)viewTapped:(UIGestureRecognizer *)sender { // Do some stuff }
Declared the method in the .h file...
- (IBAction)viewTapped:(UIGestureRecognizer *)sender;
Finally I linked up the IBAction to the 'Tap Gesture Recognizer' in IB.
When I tried running it I had no success - Have I missed something out?