随笔分类 -  页面间相互传值

摘要:1、首先实现按钮点击跳转的实现方法 - (IBAction)go:(id)sender { UIStoryboard *secondStroyBoard=[UIStoryboard storyboardWithName:@"Main" bundle:nil]; UIViewController *t 阅读全文
posted @ 2016-02-27 16:29 Mr_tao 阅读(359) 评论(0) 推荐(0)
摘要:1、 (1) 第一步,制定协议 //因为是ConfigViewController其他界面发送消息 // 1. 告诉其他界面我要给你发送什么消息 // 2. 确保其他实现了消息对应的方法 // 声明协议和协议方法 @protocol ConfigViewControllerDelegate <NSO 阅读全文
posted @ 2016-01-22 14:26 Mr_tao 阅读(382) 评论(0) 推荐(0)