开发者

how to interact with a web server using iOS, without using a webview

开发者 https://www.devze.com 2023-03-09 02:50 出处:网络
I am trying to get some data out of my wiki server, and send it to my iphone, so i can have nicely formatted data as in any iphone app.

I am trying to get some data out of my wiki server, and send it to my iphone, so i can have nicely formatted data as in any iphone app.

I could indeed just use a webview and load the page, but I am trying to achieve a different kind of UI; I would like to have the values saved on the device after retrieving them from the wiki, and have them added to a tableview, while other info are displayed trough labels or textfield.

My main problem is that i do not know where to start...everyone told me to use a webview and use the DOM to retrieve the data; but I am sure that there must be some other way to accomplish this natively.

Anyone has any suggestions about wher开发者_开发问答e to start?


NSURLRequest. Also check out the ASIHTTPRequest library

http://allseeing-i.com/ASIHTTPRequest/

0

精彩评论

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

关注公众号