Anchor download attribute created with javascript not working on iOS Chrome
问题 I have a video/mp4 file saved in AWS S3 bucket, which should be downloaded from a client device (phone or computer) when the user clicks on an icon. I first make a request using fetch , and then create a blob object from the response. Next, I create an anchor element using javascript, I attach the href attribute and trigger it's click as on the code below: fetch(url, { headers: new Headers({ 'Content-Disposition': "attachment; filename='file-name.mp4'", }), }).then((response): void => { if (