machen eine App für iOS und Android mit Unity.Unity iOS, Problem mit dem Download über https
ich jetzt auf einem iOS-Problem bin stecken:
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.
nicht unterstützte URL
Das eigentliche Problem ist:
- I connect to an https address
- I did set the Allow Arbitrary Loads to YES
Doch es funktioniert nicht.
Hier ist mein 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;
}
offensichtlich, das ist in einer IEnumerator
Funktion und es gibt immer die vorherigen Fehler.
Vielen Dank !!! SMH hat die Situation gelöst! – ZioCain
@ZioCain Warum haben Sie die Antwort nicht akzeptiert, da dies das Problem gelöst hat? Wenn das Ihr Problem gelöst hat, sollten Sie es als Antwort akzeptieren. Es ist eine nette Art, Danke zu sagen. Es wäre gut, wenn Sie erklären, warum Sie das getan haben. – Programmer
Es tut mir leid, ich dachte, ich hätte die Antwort akzeptiert, dann weiß ich nicht, warum ich un-Accept gemacht habe, ich versuche tatsächlich immer noch zu verstehen, wie SO funktioniert – ZioCain