<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — IOS : how to download a picture from google maps]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=159&amp;type=atom" />
	<updated>2016-05-27T14:37:20Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=159</id>
		<entry>
			<title type="html"><![CDATA[Re: IOS : how to download a picture from google maps]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=728#p728" />
			<content type="html"><![CDATA[<p>thanks a lot for your help</p>]]></content>
			<author>
				<name><![CDATA[progetto96]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=84</uri>
			</author>
			<updated>2016-05-27T14:37:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=728#p728</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: IOS : how to download a picture from google maps]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=724#p724" />
			<content type="html"><![CDATA[<p>Hello.</p><p>iOS supports HTTPS.<br />Starting from iOS9 you can have problems with HTTP.<br /><a href="http://stackoverflow.com/questions/30739473/nsurlsession-nsurlconnection-http-load-failed-on-ios-9">http://stackoverflow.com/questions/3073 … d-on-ios-9</a></p><p>I create a small script and tested it on iOS. <br />Everything works well.</p><p>Script:<br /></p><div class="codebox"><pre><code>using System.Collections;
using UnityEngine;
using UnityEngine.UI;

public class TestLoadImage : MonoBehaviour
{
    public RawImage image;
    public string key;

    private IEnumerator Start ()
    {
        WWW www = new WWW(&quot;https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&amp;photoreference=CnRtAAAATLZNl354RwP_9UKbQ_5Psy40texXePv4oAlgP4qNEkdIrkyse7rPXYGd9D_Uj1rVsQdWT4oRz4QrYAJNpFX7rzqqMlZw2h2E2y5IKMUZ7ouD_SlcHxYq1yL4KbKUv3qtWgTK0A6QbGh87GB3sscrHRIQiG2RrmU_jF4tENr9wGS_YxoUSSDrYjWmrNfeEHSGSc3FyhNLlBU&amp;key=&quot; + key);
        yield return www;
        image.texture = www.texture;
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-05-26T19:51:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=724#p724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[IOS : how to download a picture from google maps]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=723#p723" />
			<content type="html"><![CDATA[<p>Good morning,<br />after finding the photo reference , how can I download an image with IOS ?</p><p>( Ios not support the HTTPS protocol in Unity 3d )</p><p>example : <a href="https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&amp;photoreference=CnRtAAAATLZNl354RwP_9UKbQ_5Psy40texXePv4oAlgP4qNEkdIrkyse7rPXYGd9D_Uj1rVsQdWT4oRz4QrYAJNpFX7rzqqMlZw2h2E2y5IKMUZ7ouD_SlcHxYq1yL4KbKUv3qtWgTK0A6QbGh87GB3sscrHRIQiG2RrmU_jF4tENr9wGS_YxoUSSDrYjWmrNfeEHSGSc3FyhNLlBU&amp;key=YOUR_API_KEY.">https://maps.googleapis.com/maps/api/pl … R_API_KEY.</a></p><br /><p>Thanks in advance.</p>]]></content>
			<author>
				<name><![CDATA[progetto96]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=84</uri>
			</author>
			<updated>2016-05-26T19:02:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=723#p723</id>
		</entry>
</feed>
