开发者

How to use XMLHttpRequest in Objective-C?

I'm creating easy to use kannada comic reader on mac for my cousins. I'm able to pull the comic pages, but lot of meta content exchanged webpage and server using XML开发者_开发技巧HttpRequest.

I'm finding difficulties use XMLHttpRequest, could anyone tell me how can I use it?


The closest thing to a simple XMLHttpRequest is to create a data object from a URL.

For more advanced requests (e.g., custom headers, request methods that aren't GET), you'll need to use NSURLConnection. You should probably do that anyway; your application will be more robust and more responsive for it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜