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

iOS: TabGroup - If a tabgroup is created and opened within a window, app crashes.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Invalid
    • Affects Version/s: Release 2.1.3
    • Component/s: iOS
    • Environment:

      SDK: 2.1.3.v20120921141611
      Studio:2.1.2.201208301612
      Devices: iPad2(v 5.1), iPad3(v6.0)
      OS: OSX 10.8.1

      Description

      If a tabgroup is created and opened within a window, app crashes.
      This is regression since the issue does not occur in 2.1.3.v20120920154617.

      Steps to reproduce:
      1. Create an app using the code below.
      2. Launch the app.

      Actual:
      App crashes and gets closed. See logs.

      Expected:
      Application should open normally.

       
      var win1 = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff'
      });	
      function createCustomTab(id){
      var tab = Ti.UI.createTab({
      });
      		
      return tab;
      }		
      var tabs = Ti.UI.createTabGroup();
      tabs.addTab(createCustomTab(1));
      tabs.addTab(createCustomTab(2));
      tabs.open();
      win1.add(tabs);
      			
      			
      win1.open();
      	
      

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              amittal Anshu Mittal
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-14402
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration