The first contains a table that contains some cells. When user click on a cell the second view is loaded. In the second view I'd like to retrive the text of the clicked cell in the first view (I have to query a sqlite db with this value).
Thank you
PS:
I call second view through this:
void GoT开发者_高级运维oView( UIViewController *from, UIViewController *to){
/*
* Preparo l'animazione e aggiungo la subview.
*/
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:from.view cache:YES];
[from.view addSubview:to.view];
[UIView commitAnimations];
}
Why don't you save the value you need in a property of the second view controller?
精彩评论