上传照片不适用于iPhone6上的Cordova应用程序

时间:2015-07-03 15:01:15

标签: ios objective-c cordova webview

我在iOS 8.2或更高版本上运行的iPhone 6和6 Plus遇到问题,拍照后,我无法将照片上传到Webview。

该应用程序是使用Cordova 5.0.0构建的。它在iPhone 5上运行良好。

感谢您的帮助。

JS

navigator.camera.getPicture(function(e) {
        console.log("TakePhoto:" + JSON.stringify(e));
        that.__onMediaSuccess(e, FORMAT_IMAGE, onError);
    },
    onError, {
        quality: 75,
        destinationType: Camera.DestinationType.FILE_URI,
        targetWidth: 800,
        targetHeight: 800,
        saveToPhotoAlbum: true,
        correctOrientation: true
    });

0 个答案:

没有答案
相关问题