a Problem to pass a string between 2 view controller (iPhone)
- by Toma
my problem is quite simple, but as a beginner, I'm lost :D
I have to view controller :
view one call view 2 like this :
self.FacebookTypeRequest =@"favoris";
FaceBookViewController *viewcontrol = [[FaceBookViewController alloc]initWithNibName:@"FaceBookViewController" bundle:[NSBundle mainBundle]];
viewcontrol.title = @"FaceBook";
[self.navigationController pushViewController:viewcontrol animated:YES];
[viewcontrol release];
How can i send my string facebookTypeRequest to my view controller 2 ?
Thanks for your help