I'm an Irish iPhone developer, currently migrating my skills from the web to Apples most popular mobile computing device. Based in County Leitrim, Ireland and working from home as a freelance developer in PHP, Perl, and Objective-C.

Contact me at andy@luibh.ie.

Detect Single Tap in UIScrollView

There are an increasing amount of occasions when I’d need, and like, to be able to tap the background of an application to hide a keyboard during editing. It just seems to make good UI sense to tap on the main background and hide the keyboard so you can see what you’ve typed properly.

The following article does just that, and explains how to create a new instance of the UIScrollView which checks for a single tap and passes the event into a class of your choice.

iPhoneDeveloperTips.com - Detect Single Tap in UIScrollView