Skip to content

Instantly share code, notes, and snippets.

@markrickert
Last active September 27, 2015 05:08
Show Gist options
  • Save markrickert/1216739 to your computer and use it in GitHub Desktop.
Save markrickert/1216739 to your computer and use it in GitHub Desktop.
Setting an ImageView from the web
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