You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Mike Kwan (JIRA)" <ji...@apache.org> on 2013/01/19 14:52:12 UTC

[jira] [Created] (CB-2271) Creating multiple CDVViewControllers at once only fires deviceready once

Mike Kwan created CB-2271:
-----------------------------

             Summary: Creating multiple CDVViewControllers at once only fires deviceready once
                 Key: CB-2271
                 URL: https://issues.apache.org/jira/browse/CB-2271
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
         Environment: Reproducible on iPad/iPhone 5.0 and 6.0 simulator
            Reporter: Mike Kwan
            Assignee: Shazron Abdullah
             Fix For: 2.3.0


Steps taken to reproduce:

1. Create custom container view controller
2. In viewDidLoad add two CDVViewControllers as childViewControllers and hook up view hierarchy appropriately
3. deviceready will fire for startPage on the first CDVViewController but not for the second

Workaround:

Add the second CDVViewController after some delay (e.g. 1 second)

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