A: NextViewController *nextVC=[[NextViewController alloc] init];
nextVC.showTextBlock=^(NSString *text)
{
label.text=text;
};
[self.navigationController pushViewController:nextVC animated:YES];
B:@property(nonatomic,copy)void(^showTextBlock)(NSString *text);
发表评论 评论 (0 个评论)