HTTPS on iPhone

I need to be able to use https to connect to the server, and I'm wondering if the recommended way to do this on iPhone, which is NOT: - undocumented api call - does not require manual storage of certificates in the app bundle

Thanks everyone.

+1


source to share


2 answers


NSURLRequest and NSURLConnection are what you are looking for. Start with paperwork for them.



+3


source


What's your problem using https? The URL loading system (i.e. NSURLConnection) and WebKit support it separately. The only problem I am aware of is using untrusted certificates, and the only solution I know of is (unfortunately) using a private API call. But you shouldn't submit applications that rely on communication with a server that uses untrusted certificates anyway.



+1


source







All Articles