Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable take photo on file input iOS 6

Tags:

html

file

ios

ios6

Is there an attribute for the input type file to turn off the native iOS 6 handling?

I'd like to disabled 'Take A Photo' functionality but leave 'Choose Image'.

iOS take photo/choose existing functions

like image 746
Christopher Marshall Avatar asked Oct 21 '22 08:10

Christopher Marshall


1 Answers

I've updated my answer to reflect what you are looking for. Sorry for the confusion. This articles deals with what I understand you are trying to accomplish:

http://www.mobilexweb.com/blog/iphone-5-ios-6-html5-developers

Scroll down to the line that says:

We can also request multiple files using the HTML5 new boolean attribute. In this case, the user can’t use the camera as a source.

like image 146
sangony Avatar answered Oct 27 '22 11:10

sangony