Hi!!
Im having a big problem. Im trying that when in click a "word" from tableView send me to a secondView an here i wanna see a image, but i wanna see differents images, if you CLICK BANANA i wanna SEE IMAGE BANANA, etc. and in the secondView I wanna make scroll. The 1 CASE lets me see just one image and the secondView has the command of the scrollview and the 2 CASE lets me see differents images but dont let me use the scrollview, where am i wrong? hope u can help me, thanks
1 CASE
SecondViewController *second = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil];
[second setTitle:@"Banana"];
[self.navigationController pushViewController:second animated:YES];
2 CASE SecondViewController *second = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil]; [second setTitle:@"Strawberry"]; second.view = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Strawberry.png"]]; second.view.backgroundColor = [UIColor blueColor]; [self.navigationController pushViewController:second animated:YES];