not work in ipad

后端 未结 1 1577
不知归路
不知归路 2021-01-17 03:36

i use JSF tag to upload files to my site. It works properly in a PC with all browsers but when I test it in my iPad it do

相关标签:
1条回答
  • 2021-01-17 03:46

    This problem is not specific to JSF. It's basically just a HTML code generator. It runs on webserver and produces a bunch of HTML which get sent to the client (in your case, the iPad) and then interpreted over there. The <t:inputFileUpload> just generates a HTML <input type="file">.

    That HTML element is in turn indeed disabled in Safari Mobile based browsers. JSF look like a magician, but it really can't control whatever the client decides to do with the retrieved HTML. You'd need to look for a 3rd party client side library which enables this in the Safari Mobile side.

    See also:

    • A html5 web app for mobile safari to upload images from the Photos.app?
    • upload files via iPad
    • HTML file browse not working in iPad
    0 讨论(0)
提交回复
热议问题