In this same we have 2 ViewControllers, a textbox and a button on the first and a label on the second. The idea is that the textbox from the first view sets the label in the second view, via a button.
#import "SecondViewController.h"
@implementation SecondViewController
@synthesize PushedData;
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
lable.text = PushedData;
}
@end