HTML input file on iOS app, disable “take photo” option

前端 未结 1 588
无人及你
无人及你 2021-02-19 05:08

I want to disable the \"Take Photo\" option in an iOS app (WKWebView based) and force users to select photos from library or iCloud.

I can force users to use the camera

1条回答
  •  失恋的感觉
    2021-02-19 05:31

    There is no way to do this with IOS. The best solution would be to block the photo if it was just taken. You can check the date of the photo and if it was within the last minute you know it was just taken and not uploaded. It is a bit inconvenient due to the fact that users have to upload the photo then have it blocked. There is no way to disable the camera.

    0 讨论(0)
提交回复
热议问题