Adding a Gesture recognizer in the Interface Builder
suggest changeDrag a gesture recognizer from the object library onto your view.
![](/essential/ios/img/d312e21453e160b20e039a33331a0bf91ad71a53.png)
Control drag from the gesture in the Document Outline to your View Controller code in order to make an Outlet and an Action.
![](/essential/ios/img/1bf22e78ea97bb732f31ca884e288f35c7872427.png)
Notes
- This example comes from this fuller sample project demonstrating gesture recognizers.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents