MoSync重新加载captureImage处理html但不在webview中
我有一个html页面,使用iphone上的摄像头并返回警报。它可以作为一个web应用程序使用,但是当我尝试使用本机ui webview时,相机仍然会被调用,但没有警报。知道为什么吗MoSync重新加载captureImage处理html但不在webview中,html,webview,reload,Html,Webview,Reload,我有一个html页面,使用iphone上的摄像头并返回警报。它可以作为一个web应用程序使用,但是当我尝试使用本机ui webview时,相机仍然会被调用,但没有警报。知道为什么吗 function getImage() { navigator.device.capture.captureImage( function(success){ alert('getImageSuccess'); },
function getImage()
{
navigator.device.capture.captureImage(
function(success){
alert('getImageSuccess');
},
function(error){
alert('getImageFailure');
}
);
}