Posted By

Leech on 09/17/08


Tagged

cocoa Objective-c iphone SDK


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

Netzach
joshhepworth
emoseman
cgrainger
stationstops
avanadra
sb
gospaz


Get Internet File


 / Published in: Objective C
 

URL: http://www.iphonedevsdk.com/forum/iphone-sdk-development/3907-best-method-get-internet-file.html

Best way to get contents of file from URL.

  1. NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http"//yourUrl"]]

Report this snippet  

You need to login to post a comment.