iPhone App UI Tricks - Drag from outside the Screen

This really isn’t a trick, or even a tip. In fact, no additional code was written to get this behavior. However, it is too cool not to show some how and the small pictures on the App Store don’t do it justice. By placing a UIView (or subclassed view) on the bottom of my main view, messages to touchesMoved:withEvent: are made as soon as your finger crosses into the iPhone’s screen. Voila!, the illusion of dragging from the outside of the screen.

My last app, or rather, Triple D Design’s latest app “100 Percent” (which is now available on iTunes) has this little trick. See the video below.

I know this is insanely simple, but sometimes, the simplest things are the neat too.