Note: This only works for the built-in keyboard provided by iOS
SWIFT:
In order for the view of a UIViewController to increase the origin of the frame when it is presented and decrease it when it is hidden, add the following functions to your class:
func keyboardWillShow(notification: NSNotificat...