When developing iOS apps, one thing that ever iOS developer struggles with is the seemingly simple task of dismissing the keyboard when the keyboard isn’t in use.
With the advent of iOS 5, Apple, in their messages app, introduced the ability to swipe down to dismiss the keyboard, but they didn’t expose how to do this to developers.
With Home Inventory Reporter, given the large amounts of information on the screen at any given time, adding a keyboard accessory that contained a UIToolbar that had a done button in it just seemed lame; there had to be a better way.
I came across a control on github named DAKeyboardControl. It does *exactly* what you want. Just set your view to be a subclass of DAKeyboardControl, DAKeyboardControlTableView or DAKeyboardControlScrollView, and you’re set.
It’s really that simple.
Give @danielamitay a follow on Twitter also. He does amazing stuff.