TextField
来源:互联网 发布:js笔试题及答案2016 编辑:程序博客网 时间:2024/04/29 10:43
1~点击return 按钮 ,收回键盘
-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
[textField resignFirstResponder];
return
YES;
}
2~ 点击屏幕任何地方都会触发的方法
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[_textField resignFirstResponder];
}
0 0
- textField
- textField
- TextField
- TextField
- textfield
- TextField
- textField
- textField
- TextField
- TextField
- textfield
- TextField
- textField
- TextField
- TextField Create
- TextField 超链接
- FLEX TextField
- TextField 小结
- 点击量从0到250000:手把手教你制造病毒式内容
- 单火线模块
- Hibernate 所有缓存机制详解
- 【叶子函数分享三十二】求某段时间内星期几的天数
- 获取系统中存在的 优盘设备
- TextField
- 关于Adapter的The content of the adapter has changed问题分析
- F. Friends(2014-2015 ACM-ICPC, NEERC, Moscow Subregional Contest )
- 第十二周项目1(4)全局变量的认识
- LinkedIn开源大数据,千次数据吞吐变更
- Eclipse插件——EasyExplore安装
- C_C语言的指针的概念与使用
- 在 Web 项目中应用 Apache Shiro 开源权限框架
- Android内存管理常用方法