I am creating a program, and I am confident using Objective-C, but I do not know how to programmatically download a file from the Internet and copy it to my hard drive. I started with:
NSString url = @"http://spiritofpolo.com/images/logo.png"; NSData* data = [NSData dataWithContentsOfURL:[NSURL URLWithString:url]];
But then I donβt know what to do with the data ... it sucks, no;) Can anyone help?
source share