Why does upload image via camera work on mobile-safari but not as iOS PWA?

前端 未结 4 1731
眼角桃花
眼角桃花 2021-02-06 16:21

I have a webpage with PWA capabilities.

On iOS safari I do get the usual OS dialog asking me if I want to take a photo or upload a picture from the photo library:

<
4条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 16:32

    It did not work till iOS 11.3 but all Versions from 11.3 upwards might be okay:

    More Details to that can be also found here: How to access camera on iOS11 home screen web app?

    I could test with different devices with iOS Versions 11.4+ and confirm: works on those. Not tested with 12 and above though.

提交回复
热议问题