Hi i am retrieving image to my second view using URL,problem is i cannot able to assign the image to the UIImageView object
this code working fine
NSData imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://dblog.com.au/wp-content/galah.jpg"]];
UIImage animalImage = [[UIImage alloc] initWithData:imageData];
problem in this code
[img setImage:animalImage];
self.img.animalImage.image=animalImage;
i tried all these but its not working.
Thanks in advance