键盘KVC通知
来源:互联网 发布:数据录入员在家兼职 编辑:程序博客网 时间:2024/05/21 11:28
1 、键盘落下通知
[[NSNotificationCenterdefaultCenter]addObserverForName:UIKeyboardWillHideNotificationobject:nilqueue:[NSOperationQueuemainQueue]usingBlock:^(NSNotification *note) {}
1 、键盘开启通知
[[NSNotificationCenterdefaultCenter]addObserverForName:UIKeyboardWillShowNotificationobject:nilqueue:[NSOperationQueuemainQueue]usingBlock:^(NSNotification *note) {}
删除通知
- (void)dealloc {
[[NSNotificationCenterdefaultCenter]removeObserver:selfname:UIKeyboardWillHideNotificationobject:nil];
[[NSNotificationCenterdefaultCenter]removeObserver:selfname:UIKeyboardWillShowNotificationobject:nil];
}
0 0
- 键盘KVC通知
- KVC/KVO/通知
- KVC、KVO、通知
- KVC,KVO,通知
- kvc、kvo、通知
- KVC、KVO、通知
- KVC KVO 通知
- KVC,KVO,通知
- KVO KVC 通知
- iOS KVC、KVO、通知
- 键盘通知
- 12.代理、通知、KVC\KVO
- 键盘通知和自定义键盘
- 键盘通知事件
- 几个键盘通知
- 通知与键盘
- 通知,获取键盘高度
- iOS键盘通知
- --计算机专业就业前景--
- 我的编程学习日志(13)--打开一个文件的方法(system(),ShellExecute())
- Java异常机制
- cocos2d-x应用窗口相关源码剖析5-其他细节
- iOS Code Signing: 解惑(译)
- 键盘KVC通知
- 数据结构—单链表
- C/C++中函数参数传递详解
- 输入n,打印1到n之间的每个数,考虑整数溢出
- Average Score39届亚洲赛牡丹江站A题
- 基本数据类型对象包装类 进制转换
- 宋德福宋德福
- HDU 4424 Conquer a New Region 最大生成树
- Angular.js笔记