Get the entire XML downloaded data

前端 未结 1 1823
我在风中等你
我在风中等你 2021-01-26 17:23

I have an outdated application which use to download an XML document and parse it on the iPhone app, I used the NSURLConnection for that purpose:

-(         


        
相关标签:
1条回答
  • 2021-01-26 18:06

    AFXMLRequestOperation is explicitly intended to be used to return you an NSXMLDocument instance, NOT a raw XML string.

    If you want the XML string use AFURLConnectionOperation and build the NSMutableString the same way you do with NSURLConnection.

    0 讨论(0)
提交回复
热议问题