You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Git at Apache <gi...@git.apache.org> on 2012/04/11 09:12:12 UTC

incubator-cordova-ios pull request: iOS camera targetWidth/Height don't mat...

GitHub user mobz opened the pull request at
https://github.com/apache/incubator-cordova-ios/pull/12

----
iOS camera targetWidth/Height don't match the documentation

This change introduces a sizing param to camera.getPicture, which supports two modes (matching the css3 background size names) CONTAIN which does what the documentation and other platforms do, and COVER which does what cordova-ios currently does. This sets CONTAIN to be the default.

Fixes CB-54 and CB-183
----

You can merge this pull request into a Git repository by running
$ git pull https://github.com/mobz/incubator-cordova-ios master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/incubator-cordova-ios/pull/12.patch