开发者

How to use XMLHttpRequest in Objective-C?

开发者 https://www.devze.com 2023-01-12 09:05 出处:网络
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 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

精彩评论

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