I use the following code to try to select a photo from the iOS photo library:
navigator.camera.getPicture(this.onCaptureSuccess, this.onCaptureFail, { allowEdit: true, correctOrientation: true, destinationType: Camera.DestinationType.FILE_URI, soureType: Camera.PictureSourceType.PHOTOLIBRARY, targetHeight: 315, targetWidth: 320 });
I am using iOS 7 (7.0.4) on iPhone 5 and PhoneGap 3.3.0. No matter what I do, he always raises the camera. What am I doing wrong?
ios ios7 cordova cordova-3
Darrell brogdon
source share