title: How to download a blob file from Chrome iOS in Javascript?
body: <h2>How to download a blob file from Chrome iOS in Javascript ?</h2>
  <p>I'm working on download files (pdf, excel, txt, png) from iOS. iOS hasn't a file systems which is a problem for downloads.
  I create a code which download a blob file depending of the OS and the navigator if is required. It works nicely on desktop (lastest versions of Chrome and IE), Mobile Android (Chrome, native navigator) and iOS iPad2 (Safari).</p>
  <p>Now, Chrome iOS supposed to be like Safari mobile, but the algorithm doesn't works, Chrome iOs download the file by opening in a new tab but the page is empty.</p>
  <blockquote>
  <p>I create my own blob to create the downloadUrl.</p>
  <p>This is a part of the download function .</p>
  </blockquote>
  <pre><code>    var URL = window.URL || window.webkitURL;
      var downloadUrl = URL.createObjectURL(iobBLOB);
      var newWindow = null;   
  
      if (typeof a.download === 'undefined') {
              var newWindow = null;
              newWindow = window.open(downloadUrl, '_blank');
              setTimeout(function() {
                  newWindow.document.title = isbFilename;
              }, 10);
      }
  </code></pre>
  <h2>More details</h2>
  <blockquote>
  <p>Debugging on iPad 2 and iPhone 4</p>
  <p>Trying to download an excell, pdf, txt, and Png files.</p>
  <p>The devices doesn't have file system.</p>
  </blockquote>
  <p><strong>Thanks for helping me... Tell me if you need more information it's my first question.</strong></p>