If you're using the
attribute on an
element, then you'll need iOS Safari version 13 or later:
Can I use... Download attribute
If you can't upgrade, then you'll need to use a server which can send the correct
headers to download the file.