Changes

Jump to: navigation, search

An Overview of iPhone Multitouch, Taps and Gestures

30 bytes added, 19:12, 13 July 2010
Touch Notification Methods
== Touch Notification Methods ==
<google>ADSDAQBOX_FLOW</google>
Touch screen events cause one of four methods on the first responder object to be called. The method that gets called for a specific event will depend on the nature of the interaction. In order to handle events, therefore, it is important to ensure that the appropriate methods from those outlined below are implemented within your responder chain. These methods will be used in the worked example contained in the iPhone Multitouch, Tap and Gesture Event Handling Tutorial chapter of this book:
=== touchesCancelled method ===
When a gesture is interrupted due to a high level interrupt, such as the phone detecting an incoming call, the touchesCancelled method is called.
== Summary ==
In order to fully appreciate the mechanisms for handling touch screen events within an iPhone application, it is first important to understand both the responder chain and the methods that are called on a responder depending on the type of interaction. We have covered these basics in this chapter. In the next chapter, entitled [[iPhone Multitouch, Tap and Gesture Event Handling Tutorial]] we will use thse concepts to create an example application that demonstrates touch screen event handling.

Navigation menu