We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

save screenshot problem IOS chroma and Safari

Home Forums Puzzles save screenshot problem IOS chroma and Safari

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #46903
    mitu8281
    Customer

    Hello Experts,

    // downloadFile puzzle
    function downloadFile(contents, filename) {
    if (!filename)
    return;
    var link = document.createElement(‘a’);
    document.body.appendChild(link);
    link.href = contents;
    link.download = filename;
    link.click();
    }

    being called from :
    eventHTMLElem(‘click’, ‘savesnap’, true, function(event) {
    downloadFile(appInstance.renderer.domElement.toDataURL(‘image/png’), ‘screenshot.png’);
    });

    This is working absolutely perfectly everywhere on the PC, macs, android and on IOS safari – but not functioning in chroma and firefox on IOS.

    can anyone seem to have a clue what can i be doing wrong? or can change and try to make this work in chroma and firefox in IOS?

    the save screenshot popup never appears and the whole app seems to stop working when one run the function on chroma/firefox on IOS. Owrks perfectly well in safari.

    Thankx in advance.

    Regards,

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.