我使用以下代码尝试从iOS相册中选择照片:
navigator.camera.getPicture(this.onCaptureSuccess, this.onCaptureFail, {
allowEdit: true,
correctOrientation: true,
destinationType: Camera.DestinationType.FILE_URI,
soureType: Camera.PictureSourceType.PHOTOLIBRARY,
targetHeight: 315,
targetWidth: 320
});
我正在使用iPhone 5s上的iOS 7(7.0.4)和PhoneGap 3.3.0。无论我做什么,它总是打开相机。我做错了什么?