Last active
September 27, 2015 05:08
-
-
Save markrickert/1216739 to your computer and use it in GitHub Desktop.
Setting an ImageView from the web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imageView.image = [UIImage imageWithData: | |
[UIData dataWithContentsOfURL: | |
[NSURL urlWithString: | |
[NSString stringWithFormat:@"http://my.imageurl.com/imagepath/%@", imageName] | |
] | |
] | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment