喵喵时光机
我在viewDidLoad中断点打印showDataLabel是这样的Printing description of self->_showDataLabel:<UILabel: 0x7f86bb5b8cc0; frame = (134 98; 170 21); text = '我是第一个页面的数据'; opaque = NO; autoresize = RM+BM; userInteractionEnabled = NO; layer = <_UILabelLayer: 0x7f86bb545b60>>是有值的 .在CCViewController中我把myblock声明成属性回调写在返回事件中- (IBAction)backPageAction:(id)sender {if (self.myblock) {self.myblock(self.showDataLabel.text);}[self dismissViewControllerAnimated:YES completion:^{}];}