开发者

What kind of webserver communication techniques are available on iOS 3.2 and higher?

开发者 https://www.devze.com 2023-01-26 08:47 出处:网络
Maybe there is something better than NSURLConnection for this? I want to: Fetch XML files from web servers

Maybe there is something better than NSURLConnection for this?

I want to:

  • Fetch XML files from web servers
  • Either via http or https
  • Maybe even with authentification (username, password)

  • 开发者_StackOverflow中文版
  • Post data to an web server

Right now I only know NSURLConnection is my best friend. But maybe there is something even better in the SDK? Just want to make sure. Not complaining about NSURLConnection.


NSURLConnection is usually your best bet. It's the preferred method to access web resources. Be sure to check out NSURLConnection SSL HTTP Basic Auth to see how to use SSL. If your're debugging and your certificate is not quite trusted, check out: How to use NSURLConnection to connect with SSL for an untrusted cert?.

0

精彩评论

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