Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
2.2.0
-
None
-
iOS 6.x (iPhone 5)
Description
When using the following code, the user is unable to "crop" the photo on the edit screen. Once you attempt to zoom, it snaps back to the original version.
var success = function(imageURI) { alert('image url: ' + imageURI); } var fail = function(message) { alert('error: ' + message); } var pictureSource=navigator.camera.PictureSourceType; var destinationType=navigator.camera.DestinationType; var encoding=navigator.camera.EncodingType; navigator.camera.getPicture(success, fail, {quality: 45, destinationType: destinationType.FILE_URI, sourceType: pictureSource.CAMERA, correctOrientation: true, encodingType: encoding.JPEG, saveToPhotoAlbum: true, targetWidth: 910, targetHeight: 910, allowEdit: true} );
You can verify this on iPhone 5 (I believe it works well on previous models) on iOS 6+.