HTML5 file input type accept attribute not supported in IOS safari

I have a below code for the html5 file upload component to accept below formats

<input type="file" name="inputFileUpload" accept="application/pdf,image/jpeg,.jpeg,image/png,application/msword,image/gif,applic ation/vnd.openxmlformats-officedocument.wordprocessingml.document,image/tiff" multiple="" >

however, i see that application/pdf does not seems to be available for selection in IOS safari. though it is HTML5 supported media type i am unable to select the file while using icloud.

My questions is whether application/pdf as an "accept attribute" is supported in IOS safari.

Thanks

iPhone 6, iOS 9

Posted on Sep 15, 2016 11:47 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

HTML5 file input type accept attribute not supported in IOS safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.