如何在文件输入iOS 6上禁用拍照 [英] How to disable take photo on file input iOS 6

查看:120
本文介绍了如何在文件输入iOS 6上禁用拍照的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有输入类型文件的属性可以关闭原生iOS 6处理?

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'.

推荐答案

我已经更新了我的答案,以反映您的需求。对困惑感到抱歉。这篇文章涉及我理解你要完成的事情:

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

向下滚动到以下行:


我们还可以使用HTML5 new布尔属性请求多个文件。在这种情况下,用户无法将相机用作来源。

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.

这篇关于如何在文件输入iOS 6上禁用拍照的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆