在iPhone上的HTTPS [英] HTTPS on iPhone

查看:107
本文介绍了在iPhone上的HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够使用https连接到服务器,我想知道是否有在iPhone上执行此操作的建议方式:
- 无证的api调用
- 不需要在应用程序包中手动存储证书

I need to be able to use https to connect to a server and I'm wondering if there's recommended way of doing this on the iPhone that's NOT: - an undocumented api call - does not require manually storing certificates in the app bundle

感谢所有。

推荐答案

NSURLRequest和NSURLConnection是你要找的。从这些文档开始。

NSURLRequest and NSURLConnection are what you're looking for. Start with the docs for those.

这篇关于在iPhone上的HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆