take images from a cell , into next view controller
- by richard Stephenson
hi guys , i asked this question yesterday but it doesnt seem to have asked properly so im trying again
in my app im parsing in an xml file , in that file there is a path for an image to download
an in my tableview controler i have this to download the image and display it in the cell
NSURL *url = [NSURL URLWithString:aStory.picture];
NSData *data = [NSData dataWithContentsOfURL:url];
UIImage *img = [[UIImage alloc] initWithData:data];
im then pushing another view controller on the top and displaying some text in a text view , but i also want to take the image from the cell selected and put that in there too , but everything i try does not work.
any ideas on how i can do this
Thanks in advance
Richard