As of 3.0, if you use a UITableViewController as the view
controller for your UITableView, it’ll handle adjusting the table’s
scroll offset automatically to ensure that the firstResponder isn’t
covered up when the keyboard is shown. Before 3.0 the table’s
contentOffset and/or frame needed to be adjusted manually when the
keyboard was shown or hidden by listening for
UIKeyboardWillShowNotification and UIKeyboardWillHideNotification.