Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mobdev

macrumors newbie
Original poster
Feb 9, 2012
2
0
Hi there,

I am a noob ios developer and need your help. May you please enlighten me. :)

Right now the app that I am working on is using the standard NSURLConnection to communicate with the web service. I wanted to switch to a secure connection (https/ssl). How will I do that?

Thanks ahead!


-mobdev
 
Which documents have you read to try and solve your problem yourself. The ability to read, understand and use the API documentation is at least as important as raw ability to write code to any useful developer.

Specifically I would look at the NSURL documentation and your code where you create the NSURL object to use with the NSURLRequest.
 
I have read documentation provided by Apple and forums/blogs regarding the use of https connection.

Still, I am puzzled on how to switch from NSURLConnection to https connection. This task was just assigned to me. Our app is using the standard NSURLConnection and it works perfectly but our Lead wants to switch it to https connection.
 
I have read documentation provided by Apple and forums/blogs regarding the use of https connection.

What documentation? What forums? What blogs? Be specific.

Still, I am puzzled on how to switch from NSURLConnection to https connection. This task was just assigned to me. Our app is using the standard NSURLConnection and it works perfectly but our Lead wants to switch it to https connection.

You don't switch. NSURLConnection is used in conjunction with http:// or https://. Make sure you have given the URL Loading System Programming Guide a good read.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.