 <p>Take a look at these UIView methods. You subclass can override these methods and do what you require.</p> <p><code>touchesBegan:withEvent:, touchesMoved:withEvent:, touchesEnded:withEvent:, touchesCancelled:withEvent:</code></p> <ul> <li>Implement these methods if you need to handle touch events directly. (For gesture-based input, use gesture recognizers.)</li> </ul>