Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28497

iOS: Hierarchy error occurs with SplitWindow and NavigationWindow as of 10.0.0

    Details

    • Story Points:
      5

      Description

      With SDK 10.0.0.GA and the following example, iOS throws the error below. In lower versions it works properly

      <Alloy>
        <SplitWindow backgroundColor="white" showMasterInPortrait="true">
       
          <!-- First window is the masterView -->
          <NavigationWindow>
            <Window title="Master View">
              <ListView>
                <ListSection headerTitle="Some items">
                  <ListItem title="Item 1" />
                  <ListItem title="Item 2" />
                  <ListItem title="Item 3" />
                </ListSection>
              </ListView>
            </Window>
          </NavigationWindow>
       
          <!-- Second window is the detailView -->
          <NavigationWindow>
            <Window title="Detail View">
              <Label>I am the detail view.</Label>
            </Window>
          </NavigationWindow>
        </SplitWindow>
      </Alloy>
      

      'UIViewControllerHierarchyInconsistency', reason: 'child view controller:<UINavigationController: 0x7fda2d885000> should have parent view controller:<TiViewController: 0x7fda2ac61920> but requested parent is:<TiRootViewController: 0x7fda2c02a200>'
      

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              bgarcia Brian García
              Reviewer:
              Gary Mathews
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration