My NSXMLParser is not parsing and returning null

2019-06-14 13:58发布

I was parsing my xml in some other view controller's button click but now i have changed it to the app delegate class (My app is a Universal app). so that as soon as i start my app is should parse all.My parsing methods are written in another ViewController and i am calling those methods from my appDelegate class, but it is returning me this :-

NSXMLParser ERROR: The operation couldn’t be completed. (NSXMLParserErrorDomain error 65.) - (null)

dont know what i have done now. any help will be appreciable.

2条回答
别忘想泡老子
2楼-- · 2019-06-14 14:15

Actually as it is a Domain error... it is not on your side. you must check your internet or Proxy settings. i hope you internet must be working on simulator but not in your app.... :)

Try it.

查看更多
混吃等死
3楼-- · 2019-06-14 14:20

Refer the error code NSXMLParserSpaceRequiredError = 65 in NSXMLParser Class Reference.

查看更多
登录 后发表回答