/TLKeyboardUtil

一款精致的工具,可以帮助你快速实现键盘的弹出,完美解决视图上的控件遮挡问题

Primary LanguageObjective-COtherNOASSERTION

TLKeyboardUtil

<<<<<<< HEAD

CI Status Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift版本

swift版本

Installation

TLKeyboardUtil is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TLKeyboardUtil"

APIS

+(TLKeyboardUtil*)sharedInstance;

/**
 *  给根视图添加键盘自动弹出功能
 *
 *  @param rootView 根视图
 */
-(void)addKeyboardAutoPopWithView:(UIView *)rootView;

How to use

TLKeyboardUtil *keyboardUtil=[TLKeyboardUtil sharedInstance];

[keyboardUtil addKeyboardAutoPopWithView:self.view];

Author

Andrew, anluanlu123@163.com

License

TLKeyboardUtil is available under the MIT license. See the LICENSE file for more info.

一款精致的工具,可以帮助你快速实现键盘的弹出,完美解决视图上的控件遮挡问题

0e0ba11c431d41d735f7d09ca755c99736f53dc1