Changes

Jump to: navigation, search

An iOS 8 Swift Gesture Recognition Tutorial

12 bytes added, 20:39, 1 February 2016
m
Text replacement - "<google>BUY_IOS8</google>" to "<htmlet>ios9_upgrade</htmlet>"
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>
Within the document outline panel, select the Tap Gesture Recognizer instance and display the Attributes Inspector (View -> Utilities -> Show Attributes Inspector). Within the attributes panel, change the Taps value to 2 so that only double taps are detected.
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>
Similarly, select the Long Press Recognizer object and change the Min Duration attribute to 3 seconds.
<googlehtmlet>BUY_IOS8ios9_upgrade</googlehtmlet>

Navigation menu