iPhone: How to send a HTTP request to a web service using Xcode

前端 未结 4 839
灰色年华
灰色年华 2021-02-02 03:03

How to send a HTTP request to a web service using Objective-C ? I need to fetch some data from my MySQL DB, so I need to send the request so I could fetch the data.

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-02 03:52

    There are many ways, but perhaps the easiest is to use an existing framework, ASIHTTPRequest.

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

提交回复
热议问题