a Problem to pass a string between 2 view controller (iPhone)

Posted by Toma on Stack Overflow See other posts from Stack Overflow or by Toma
Published on 2010-05-28T10:56:19Z Indexed on 2010/05/28 12:11 UTC
Read the original article Hit count: 196

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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c