Webview, photolibrary,Camera, choose files

I have a safari webkit inside my mobile app which renders a webpage. The webpage has File upload option.

<input type="file" id="myFile" name="filename"> when I click on it 3 options are shown as in screenshot. I am trying to make the safari kit to only allow Camera capture and hide Upload already existing files.  Is there any safari permission which I can remove to configuration that hide the options of upload from files.

You can achieve the desired behavior by using the capture attribute. This will immediately invoke camera capture, and will not display the menu shown above.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture for more details.

@pxlcoder I don't have control on the webpage. is there any option within the safari webkit?

Webview, photolibrary,Camera, choose files
 
 
Q