A quick tutorial showing you a different way of loading an Image with a URL. This time we load it in an UIImageView rather than in a UIWebView.
Main Code Used:
(void)viewDidLoad {
urlImage.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:@"YOUR IMAGE URL"]]];
[super viewDidLoad];
}
UIWebView Reachability: • iPhone Programming - Checking for Internet...
Loading an Image From a Website: • iPhone Programming-Loading an Image from a...
Link: http://developer.apple.com/devcenter/...
Website: http://failcake.webs.com/
Twitter: / failcakeapps
Channel: / milmersxcode