You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Becky Gibson (JIRA)" <ji...@apache.org> on 2013/02/21 20:52:12 UTC

[jira] [Resolved] (CB-2411) navigator.camera dismiss photo album popover on orientation change

     [ https://issues.apache.org/jira/browse/CB-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Becky Gibson resolved CB-2411.
------------------------------

    Resolution: Fixed

Thanks, Max!

iOS commit: https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=dfc6a993a99a701cc153178c6826a77727aca4df

js commit: https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=73b6ecefc25840ea4a73c6b72b523f9f7bd83d82

mobile-spec commit:  https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=87d07d62e2419690ba4a495892fca241f0710b72
                
> navigator.camera dismiss photo album popover on orientation change
> ------------------------------------------------------------------
>
>                 Key: CB-2411
>                 URL: https://issues.apache.org/jira/browse/CB-2411
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0
>         Environment: Affect iPad only.
>            Reporter: Scott Kerber
>            Assignee: Becky Gibson
>            Priority: Blocker
>              Labels: features
>             Fix For: 2.5.0
>
>
> On the iPad we are displaying the photo album popover using the navigator.camera.getPicture with the following sourceType specified:
> Camera.PictureSourceType.SAVEDPHOTOALBUM
> we are also positioning the popover by specifying the popoverOptions (Cordova 2.3). This all works fine.
> When the user changes the orientation of the iPad we need to re-position the photo album popover appropriately so that it continues to point the element (a button) that displayed the popover. This is a Apple iOS UI requirement and if not done Apple will reject the app. 
> There is no way to either re-position the popover or dismiss it so that we can call navigator.camera.getPicture again to re-display the photo album popover in the correct location. 
> Because I cannot hide or cancel the existing popover we are ending up with multiple popovers being displayed as you rotate the iPad to change it's orientation.

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