HTTP “Content-Disposition: attachment” and downloading files on iOS web browser

前端 未结 1 396
礼貌的吻别
礼貌的吻别 2020-12-13 03:31

I want my users to be able to download a PDF file and have the browser treat it as a file, not just display it (i.e. it has a filename, user gets option to save, etc.). The

相关标签:
1条回答
  • 2020-12-13 04:19

    The mobile Safari browser doesn't support downloading files.

    If Safari can display it, it will display. If you have installed other apps that can open the file, Safari will detect it for you.

    0 讨论(0)
提交回复
热议问题