一个ViewController 中 有一个 Container , 即一个VeiwController1中嵌套了另一个ViewController2.
这两个ViewController是同时加载的,这两个同时加载的ViewController之间该如何传值呢,自己试了很多百度的方法,都没有成功,希望能给出一个详细一点的方法,拜托各位大神了。
一个ViewController 中 有一个 Container , 即一个VeiwController1中嵌套了另一个ViewController2.
这两个ViewController是同时加载的,这两个同时加载的ViewController之间该如何传值呢,自己试了很多百度的方法,都没有成功,希望能给出一个详细一点的方法,拜托各位大神了。
2 回答537 阅读
1 回答665 阅读
1 回答598 阅读
1 回答481 阅读
2 回答424 阅读
604 阅读
506 阅读
局部用Delegate传值,大范围可以用Notification