最新文章列表

[IOS]通过NSNotificationCenter处理弹出框信息

1.点击事件后就注册通知: -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ NSUInteger row = [indexPath row]; if (row > 2 && row < 7){ / ...
繁星水 评论(0) 有507人浏览 2017-06-06 14:57

(转)【iOS 】NSNotificationCenter 使用

转自:http://www.jianshu.com/p/a4d519e4e0d5   总结图:     传值:通过object field [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(wifisetupMove:)name:@"tag" object:nil]; ...
繁星水 评论(0) 有577人浏览 2017-05-26 17:29

NSNotificationCenter

定义一个消息中心 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeByNotif:) name:@"changeByNotif" object:nil]; -(void) changeByNotif ...
zhboy666666 评论(0) 有1123人浏览 2011-09-26 14:23

iPhone控制键盘

有时候当键盘弹出时会把输入框盖住,这时候我们就没法看到自己到底输入的是什么了,这时候我们就需要注册两个事件,那就是在键盘显示的时候 把输入框的位置放在可见的地方 ,当关闭键盘时,在将输入框还原,以下就是解决问题的具体方法,我们只要注册就可以了   // Call this method somewhere in your view controller setup code. - (vo ...
374016526 评论(0) 有1369人浏览 2011-08-24 15:15

最近博客热门TAG

Java(141741) C(73643) C++(68602) SQL(64557) C#(59604) XML(59131) HTML(59042) JavaScript(54916) .net(54782) Web(54511) 工作(54116) Linux(50906) Oracle(49861) 应用服务器(43285) Spring(40811) 编程(39452) Windows(39380) JSP(37540) MySQL(37266) 数据结构(36420)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics