[
https://issues.apache.org/jira/browse/CB-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531539#comment-13531539
]
Shazron Abdullah commented on CB-2057:
--------------------------------------
I tried it on 2.1.0, 2.2.0 and 2.3.0 tip of tree, they seem to work the same --
at a certain point you can't zoom anymore and it rebounds. What is the expected
behaviour? In any case, I don't see that we changed any significant code in
CDVCamera.
> When using allowEdit on iOS, user is unable to Crop, Zoom on Image
> ------------------------------------------------------------------
>
> Key: CB-2057
> URL: https://issues.apache.org/jira/browse/CB-2057
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.2.0
> Environment: iOS 6.x (iPhone 5)
> Reporter: Greg
> Assignee: Shazron Abdullah
> Priority: Critical
> Labels: camera
>
> 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.
> {code}
> 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}
> );
> {code}
> You can verify this on iPhone 5 (I believe it works well on previous models)
> on iOS 6+.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira