摘要: A页面//向列表页面B发送一个通知 postShopZanCountDataNSMutableDictionary *dic=[[NSMutableDictionaryalloc] init]; [[NSNotificationCenterdefaultCenter] postNotificationName:@"postData"object:niluserInfo:dic];B 页面[[NSNotificationCenterdefaultCenter] addObserver:selfselector:@selector(update:) name:@"po 阅读全文
posted @ 2013-09-02 17:58 xiaoxiaoxigua 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 如果cell上面只有一个button 可以设置button.tag=IndexPath.Row;得到当前点击的行数,设置button属性的时候,可以设置一个全局的button来记住当前点击的button,UITableViewCell*clickCell=(UITableViewCell*)[[btn superview] superview];得到当前点击的 button所在的cell 阅读全文
posted @ 2013-09-02 15:29 xiaoxiaoxigua 阅读(479) 评论(0) 推荐(0) 编辑