令我们感到惊讶的是,我们在网上的任何地方都找不到任何提及此事的消息,因此我们在这里发布,希望找到解决方案。
当我们遇到此问题时,请在下面运行2个易于遵循的测试,以解决问题,使用iPhone,一种有效,一种无效。
这是链接 https://pwa-react.netlify.com/
这是我们运行的2个测试(均在链接中列出),一个在非PWA模式下有效,另一个在PWA模式下失败。
测试#1:完美运行(预期行为)
Visit https://pwa-react.netlify.com/ from iPhone in mobile safari
1. Make sure you have google drive on the phone but not logged in.
2. Click "Choose File". It will show you the list of options to choose from.
3. Click "Browse" to look for the photo.
4. Click "Cancel" and you're back here.
5. Click "Choose File" it will still show you the list of options to choose from.
This works perfectly in mobile safari but …Run Code Online (Sandbox Code Playgroud)