04 2016 档案

摘要:假如oneViewController页面push到OtherViewController页面,然后你想从OtherViewController页面pop到oneViewController页面的时候需要传值,这时可以使用代理。 从OtherViewController中.h文件中定义代理,并设置代 阅读全文
posted @ 2016-04-08 00:11 空山新雨funny 阅读(2036) 评论(0) 推荐(0)
摘要:iOS pop回父级页面,使用通知传值 输入所要发送的信息 ,同时将label的值通过button方法调用传递, - (IBAction)buttonClick:(id)sender { //添加 字典,将label的值通过key值设置传递 NSDictionary *dict =[[NSDicti 阅读全文
posted @ 2016-04-07 23:16 空山新雨funny 阅读(1153) 评论(0) 推荐(0)