2009-06-12 8 views

Antwort

1
//in the main controller didSelectRowAtIndexPath method: 

MyViewController *controller = [[MyViewController alloc] initWithTitle:label.text]; 

//in the 2nd controller: 

-(id)initWithTitle:(NSString *)theTitle { 
    if(![super init]) return nil; 
    self.title = theTitle; 
} 
Verwandte Themen