cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-3745) Camera callbacks - the animation of the viewcontroller may not have finished, for display of another modal viewcontroller after
Date Sat, 08 Jun 2013 19:57:19 GMT
Shazron Abdullah created CB-3745:
------------------------------------

             Summary: Camera callbacks - the animation of the viewcontroller may not have
finished, for display of another modal viewcontroller after
                 Key: CB-3745
                 URL: https://issues.apache.org/jira/browse/CB-3745
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS, Plugin Camera
    Affects Versions: Master
            Reporter: Shazron Abdullah
            Assignee: Shazron Abdullah
            Priority: Minor



When the success/failure handler for CDVCamera fires, the modal viewcontroller may not have
been finished animating and closing. This is problematic if you are chaining showing a different
viewcontroller after the camera has been dismissed, resulting in the new viewcontroller not
being shown and an error in the console log.

To fix this, do not send the pluginresult immediately in the camerapicker didfinish functions,
but wait to send it in the completion handler of dismissViewController:completion:

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