How to manage keyboard with UIScrollView? When UITextView or UITextField in UIScrollView. You need to adjust UIScrollView when keyboard shows. Otherwise some ui might behind the keyboard so user can’t see. You have to modify scrollView bottom inset accordingly. Let’s get started! First, make keyboard show/hide event observer. Second, implement show/hide event function. ContentInset might differe..