Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File upload in Mobile Safari

Which file types are applicable for upload in Mobile Safari using HTML file input?

I've already tried jpg, png, bmp, gif, tif, tiff and it works, but I'd like to have a complete list of all files.

like image 699
Igor Avatar asked Jul 08 '15 13:07

Igor


1 Answers

The developer documentation does not list any restrictions, so you're safe to assume that there aren't any:

File uploads and downloads Safari on iOS supports file uploading—that is, <input type="file"> elements—on iOS 6 and later.

Note that in iOS 6 to 8 you're basically limited to the photo library anyway, so what's in there works.

In iOS 9 there's a new file upload dialog, which apparently allows uploads from various cloud storage services which expands the scope of file uploads in mobile Safari significantly.

like image 171
thomasfuchs Avatar answered Sep 20 '22 17:09

thomasfuchs