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
Different than other UIViews, UIImageView, as default, comes with user interaction disabled. Include this line in your code and the gesture should work as expected:
UIViews
UIImageView
disabled
imageView.userInteractionEnabled = YES;