Changes

Jump to: navigation, search

An Overview of iOS 4 iPhone Multitouch, Taps and Gestures

54 bytes added, 19:55, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_IOS4ios9_upgrade</googlehtmlet>
== The Responder Chain ==
<google>IOSBOX</google>
In the chapter entitled [[Understanding iPhone iOS 4 Views, Windows and the View Hierarchy]] we spent some time talking about the view hierarchy of an application’s user interface and how that hierarchy also defined part of the application’s responder chain. In order to fully understand the concepts behind the handling of touch screen gestures it is first necessary to spend a little more time learning about the responder chain.
== Touch Notification Methods ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
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 [[An Example iOS 4 iPhone Touch, Multitouch and Tap Application]] and [[Detecting iOS 4 iPhone Touch Screen Gesture Motions]] chapters of this book:
<googlehtmlet>BUY_IOS4_BOTTOMios9_upgrade</googlehtmlet
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu