iphone 窗体传值

子窗口

// header file

@property (nonatomic, copy) NSString *example;

// .m file
@synthesize example;
父窗口
// when you create the object
NewItemController *item = [[NewItemController alloc] init];
item
.example = @"example string data";

原文地址:https://www.cnblogs.com/zzxap/p/2175636.html