Hi, 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?
A:
Most likely your URL references a non-existing file, or the content of the file can not be encoded as a NSString.
Claus Broch
2010-06-14 08:43:30
the content is not empty ,so i have doubt about encoding format
Dingua
2010-06-14 08:50:47
@dingua: Try using dataWithContentsofURL: If that will download, then it is most likely encoding problems.
Claus Broch
2010-06-14 09:04:50
@Claus Broch:yes that it was..now all things are going right ,thk u
Dingua
2010-06-14 09:14:13