and assign them to views. Some Caveats: 1) A gesture recognizer can be added to any subclass of UIView 2) Two views cannot share a gesture recognizer. Last one in! 3) Often you have to set a view’s isUserInteractionEnabled property to true. 4) Do not overuse gesture recognizers - see Apple’s Human Interface Guidelines. 5) If you were to add ‘pan’ to the dismiss button, it still fires even after you pan it around the view, this fact has allowed many a developer to create simple 2D games.