Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 963 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 963 Bytes

SNKeyboardManager

License

About

SNKeyboardManager is a extend of UITextField/UITextView, you can control the keyboard event with a boolean property of UITextFiled/UITextView automatically and conviniently.

Usage

#####Tap or pan any blank area to turn off the keyboard:

    _textField.sn_keyboardManagerEnabled = YES;
    _textView.sn_keyboardManagerEnabled = YES;

image

#####Adjust the position of view when keyboard is showing or dismissing:

    _textField.sn_autoAdjustFrameEnabled = YES;

image

Requirements

iOS 7.0+.

License

SNKeyboardManager is licensed under the MIT License.