Mejdi Lassidi
Mejdi Lassidi

Reputation: 999

"stringWithContentsOfURL" returns empty data

i am working with web services these days ,and with all xml files that i am parsing things are fine ,but with the last one the famous method "stringWithContentsOfURL" returns empty data. Why?

Upvotes: 0

Views: 451

Answers (1)

Claus Broch
Claus Broch

Reputation: 9212

Most likely your URL references a non-existing file, or the content of the file can not be encoded as a NSString.

Upvotes: 2

Related Questions