making an app for both iOS and Android with Unity.
I'm now stuck on an iOS problem:
You are using download over http. Currently unity adds `NSAllowsArbitraryLoads` to `Info.plist` to simplify transition, but it will be removed soon. Please consider updating to https.
unsupported URL
The actual problem is:
- I connect to an https address
- I did set the Allow Arbitrary Loads to YES
Yet, it's not working.
Here's my code:
string GET = "mail="+mail+"&nome="+nome+"&cognome="+cognome;
// get parameters
WWW response = new WWW (SERVER+"adduser/?"+GET);
// calling page, address is like 'https://website.com/'
while (!response.isDone && response.error != "") {
yield return null;
}
if (response.error != "") {
print (response.error);
return false;
}
obviously, this is in a IEnumerator
function and it ALWAYS returns the previous error.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…