IPhone之NSNotificationCenter
来源:互联网 发布:ie9 js兼容性问题 编辑:程序博客网 时间:2024/05/21 06:31
转载自:http://blog.sina.com.cn/s/blog_4adf31ea0100npdj.html
1、自定义消息
定义一个方法
-(void)
{
}
对象注册,并关连消息
调用
2、注册键盘升启关闭消息
//键盘升起
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotifi
//键盘降下
另:加上我的通知实现:
- IPhone之NSNotificationCenter
- NSNotificationCenter 的使用-iPhone成长之路
- iPhone开发之消息通信机制NSNotificationCenter
- iPhone开发之NSNotificationCenter(通知)的使用方法
- iPhone开发之NSNotificationCenter(通知)的使用方法
- iPhone开发之NSNotificationCenter(通知)的使用方法
- iPhone开发之NSNotificationCenter(通知)的使用方法
- 详解iPhone开发之消息通信机制NSNotificationCenter
- 【转载】iPhone开发之NSNotificationCenter(通知)的使用方法
- [iphone]NSNotificationCenter多线程的情况
- iphone消息通信机制NSNotificationCenter
- IOS 之 通知NSNotificationCenter
- IOS之NSNotificationCenter
- IOS注意之NSNotificationCenter
- [iPhone开发]消息通信机制NSNotificationCenter
- iphone ios 消息通信机制NSNotificationCenter
- [iPhone开发]消息通信机制NSNotificationCenter
- iphone ios 消息通信机制NSNotificationCenter
- ubuntu12.04 server 网络配置
- “算法与计算数学”之四书五经
- sun virtualbox linux之增强控件的安装
- ARM汇编指令学习(0) - ARM 汇编语言程序格式
- 如何让IT人远离慢性疲劳
- IPhone之NSNotificationCenter
- Linq to DataSet 与linq to entities 实现权限设置模块
- ARM汇编指令学习(1) - 实现数据块拷贝
- android中重要的manager获取
- 自己对“改变CButton按钮控件的文本和背景颜色”的理解
- Android activity的生命周期
- inline函数必须在头文件中定义吗?
- 学习DDR2时值得一看的资料
- DIV+CSS规范命名大全集合