Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

WWW doesn't follow redirects on iOS (Unity 5.3.1p2)

$
0
0
WWW doesn't follow redirects on iOS.

E.g., I try to load profile pictures from Facebook, but execution doesn't further than yield return.

Code (csharp):
  1. IEnumerator LoadPictures(List<string> ids) {
  2.     foreach (string id in ids) {
  3.         if (!pictures.ContainsKey(id)) {
  4.             WWW request = new WWW("https://graph.facebook.com/v2.4/" + id + "/picture?type=square");
  5.             yield return request;
  6.  
  7.             if (request.error == null && request.texture != null) {...
WWW doesn't follow redirects on iOS (Unity 5.3.1p2)

Viewing all articles
Browse latest Browse all 10823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>