Skip to content

jiaopen/SNKeyBoardManager

Repository files navigation

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.

About

Add propertys to UITextField/UITextView to control the keyboard event automatically.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published