I am trying to NSLog when I swipe over an UIImageView with this code, but it does not work for some reason. Any idea ?
@implementation ViewController - (voi
Be sure to add imageView.userInteractionEnabled = YES; after you create your UIImageView.
imageView.userInteractionEnabled = YES;
This allows users to interact with your view such as a tap, drag, swipe or other general gestures.
See the documentation here.