不需要一行代码解决键盘遮挡的问题
2016-06-23 11:05
288 查看
今天无意中发现一个很不错的开源框架,
allows you to prevent issues of the keyboard sliding up and cover
'IQKeyboardManager安装即可,超级方便.大家可以去github中下载最新demo体验Source: https://github.com/hackiftekhar/IQKeyboardManager.git.
![](https://oscdn.geek-share.com/Uploads/Images/Content/201911/15/5eaf90c355e7280e8348eff947f2f32a)
IQKeyboardManager,作者是这样介绍的:Often while developing an app, We ran into an issues where the iPhone keyboard slide up and cover the
UITextField/UITextView.
IQKeyboardManager
allows you to prevent issues of the keyboard sliding up and cover
UITextField/UITextViewwithout needing you to enter any code and no additional setup required. To use
IQKeyboardManageryou simply need to add source files to your project.大概意思就是我们在开发app的过程中经常遇到键盘遮挡
UITextField/UITextView这样的问题,而
IQKeyboardManager正好解决这一问题,使用它的时候不用你写任何代码,就能到达你想要的效果.本人亲自测了一下确实如此,只需要在Podfile文件中引入pod
'IQKeyboardManager安装即可,超级方便.大家可以去github中下载最新demo体验Source: https://github.com/hackiftekhar/IQKeyboardManager.git.
相关文章推荐
- Struts2 Struts.xml DTD 说明
- windows7下php5.4成功安装imageMagick,及解决php imagick常见错误问题。(phpinfo中显示不出来是因为:1.imagick软件本身、php本身、php扩展三方版本要一致,2.需要把CORE_RL_*.dll多个文件放到/php/目录下面)
- python note
- java多线程--join函数
- Spring ioc 简单理解
- 用eclipse如何发布打包Android应用
- ruby使用Net::SSH和Net::SCP,实现远程命令执行
- [编程之美]区间重合判断
- Google Gson 使用简介
- struts+spring action应配置为scope="prototype"
- eclipse项目如何迁移到AndroidStudio中(图文说明)
- python使用csv模块读写csv文件
- struts2 :Unable to load configuration. ……struts-default.xml:46:178异常解决
- python print函数
- 实习日记4_2016.06.23
- 深入浅出RxJava(二:操作符)
- eclipse内存溢出问题解决方案
- 深入浅出RxJava(一:基础篇)
- Java设计模式之--迭代器模式(Iterator)
- Java基础3(公司学习)