UIViewKeyboardAvoiding 0.1.2

UIViewKeyboardAvoiding 0.1.2

测试已测试
Lang语言 Obj-CObjective C
许可 MIT
发布日期最后发布2015年12月

Renato Matos 维护。



一种简单的方法,使您的 UITextField 总是可见,当键盘出现时(第一个响应者)将 UIView 向上移动

Pod

Podfile

pod "UIViewKeyboardAvoiding"

终端

pod install

使用方法

第一步是设置 UIView 自定义类,如下所示

alt tag

然后,只需要将您的 UIView 设置为 UITextField 的代理即可

alt tag