I know Unity iPhone doesn’t support https/SSL out of the box (respectively through the WWW class). However, i was thinking that you could to set up a secure connection by writing a plugin that uses the iPhone SDK’s functionality for https/SSL.
I would like to know if this is indeed possible, and if not why wouldn’t it?
Thanks in advance for any input on this.
Unity Advanced allows you take make calls to native Obj-C code, so I don’t see any reason why it wouldn’t be possible.
However, I’ve not actually done it myself 
I was thinking the same thing. Why wouldn’t it be possible? Of course, only if you’re using Pro.
If anyone who has written plugins for Unity could give me another “i think it should work” comment that would be great. 
Unity Pro will not have any impact (nor do Unity Pro plugins as you can’t use them)
You need Unity iPhone Advanced and with that its possible yes.
You can call any Obj C / C function you want.
I would just recommend to have the whole calling part on the obj c / c end and expose a function that just takes an url and returns the corresponding string to unity.
also don’t forget that you must free data you are returning yourself within unity (the example project gives you some idea / info on that)
Thanks, and yes i’m simply confusing that there’s Unity Pro but the commercial version for iPhone is called Unity iPhone Advanced, not Pro.
Hi,
Take a look at this document:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLDownload.html
If you are new to native code plugins I recommend to check Unity iPhone Manual section “Plugins - Pro only feature” too.