
Show image by URL

UIImageView set image url
Finally, you can add UIImage to Image view. Find the code below..
NSURL * imageURL = [NSURL URLWithString:@"http://xyz.com/image.png"]; NSData * imageData = [NSData dataWithContentsOfURL:imageURL]; UIImage * image = [UIImage imageWithData:imageData]; //Add the imagedata to Image view myImageView.image = image; //OR [myImageView setImage:image];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.