34,333
edits
Changes
no edit summary
Prior to iOS 4, the identification of a gesture was the responsibility of the application developer and typically involved the creation of complex mathematical algorithms. In recognition of this complexity, and given the importance of gestures to user interaction with the iOS device, Apple introduced the UIGestureRecognizer class in iOS 4 thereby making the task of identifying the types of gestures a much easier task for the application developer.
The goal of this chapter, therefore, is to provide an overview of gesture recognition within the context of iOS 10. The next chapter will work through [[An iOS 8 Swift Gesture Recognition Tutorial|An iOS 10 Gesture Recognition Tutorial]].
== The UIGestureRecognizer Class ==