简体   繁体   中英

How do I allow iOS users to upload a document via an html input field on my website?

I have a contact form 7 plugin on my wordpress site, I want to allow users to upload a CV. On iOS devices though users are only given options to take a photo or upload a photo. On android and any other device I'm able to choose file.

Is there any way to get around this iOS functionality?

This is not possible within Safari. Safari, and most iOS apps, operate within a sandbox, meaning they can't access other data and cannot read files outside their scope. I think iOS only supports photo uploads.

Just place this html element on the site:

This would only accept PDF format CVs but you can change the file requirement or get rid of it entirely.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM