一个ViewController 中 有一个 Container , 即一个VeiwController1中嵌套了另一个ViewController2.
这两个ViewController是同时加载的,这两个同时加载的ViewController之间该如何传值呢,自己试了很多百度的方法,都没有成功,希望能给出一个详细一点的方法,拜托各位大神了。
天蓬老师2017-04-18 09:08:45
Use Delegate to pass values locally, and Notification for large areas
迷茫2017-04-18 09:08:45
v1 —— V2 uses segue to pass the value, because v2 is a container
v2 —— v1 uses block or delegate to pass the value