title: unity how to load image from streamingassets on ios
body: <p>I put some png files into /Assets/StreamingAssets, what i want to do is load a image's texture from that floder.</p>
  
  <p>here is my c# code below:</p>
  
  <pre><code>string path = "file://" + Application.streamingAssetsPath + "/sunny.png";
  
  private IEnumerator GetMatByWWW(string url)
  {
      WWW www = new WWW(url);
      yield return www;
  
  
  
      RawImage rawImage = gameObject.GetComponent&lt;RawImage&gt;();
      rawImage.texture = www.texture;
  }
  </code></pre>
  
  <p>On OSX, the code working perfect. But i need to make it working on IOS. So i remove the prefix of "file://" and the path is :</p>
  
  <pre><code>string path = Application.streamingAssetsPath + "/sunny.png";
  </code></pre>
  
  <p>It just showed a red question-mark after build and run at my iPhone. And i also tried</p>
  
  <pre><code>string path = "file:/" + Application.streamingAssetsPath + "/sunny.png";
  </code></pre>
  
  <p>Who can tell me how to do it correctly?</p>