ios本地通知问题 ios本地通知可以定时刷新通知内容吗?如何做到??求各位技术大牛 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 先添加通知 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeSelfViewColor:) name:KFinishAction object:nil]; 发送通知 [[NSNotificationCenter defaultCenter]postNotificationName:KFinishAction object:nil userInfo:@{@"myColor": [self randomColor]}];//执行通知的方法- (void)changeSelfViewColor:(NSNotification *)sender{ UIColor *myColor = sender.userInfo[@"myColor"]; [self.view setBackgroundColor:myColor];} php如何处理iphone输入的表情? 怎么让jquery访问wcf 设置一个视图中控件的缺省值函数是什么来着 ios 7 下载了一个企业级部署的应用,出现2个图标 归档解档,数据错误 动态UITableViewCell如何实现 手中有台iphone做开发//电脑上搭建什么环境呢? 请问这个app的导航栏如何实现,请高手给点思路。多谢! masonry自动布局 iOS git Xcode7 ruby 求助求助 在线等,关于iOS中从本地相册调取图片上传到界面中
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeSelfViewColor:) name:KFinishAction object:nil]; 发送通知
[[NSNotificationCenter defaultCenter]postNotificationName:KFinishAction object:nil userInfo:@{@"myColor": [self randomColor]}];//执行通知的方法
- (void)changeSelfViewColor:(NSNotification *)sender{
UIColor *myColor = sender.userInfo[@"myColor"];
[self.view setBackgroundColor:myColor];
}