cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristofor Selden (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library
Date Wed, 03 Apr 2013 17:45:15 GMT

    [ https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621099#comment-13621099
] 

Kristofor Selden commented on CB-2732:
--------------------------------------

Your variable is declared as UIImagePickerControllerCameraDevice cameraDevice but you are
setting to an intValue that is cast to (UIImagePickerControllerSourceType)[cameraDirection
intValue] generating the above warning.
                
> Camera.getPicture crashes when choosing from photo library
> ----------------------------------------------------------
>
>                 Key: CB-2732
>                 URL: https://issues.apache.org/jira/browse/CB-2732
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.6.0
>            Reporter: Max Woghiren
>            Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can only be
set if the source type is UIImagePickerControllerSourceTypeCamera.

--
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

Mime
View raw message