UIScrollView bottomInset property.
UITextField setReturnKeyTypeAndReloadInputViews method.