title: How do I add tabGroup to SplitWindow in Titanium for iPad
body: <p>Currently, I am building an application for the iPad with titanium. I want to add a tabGroup to a splitWindow, But I just can't seem to get it working. The tabs never show, and I have no clue what I'm doing wrong.</p>
  
  <p>I am using the dummy code from the <a href="http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.iPad.SplitWindow-object.html" rel="nofollow">docs</a>:</p>
  
  <pre><code>var win = Ti.UI.createWindow();
  
  var nav = Ti.UI.iPhone.createNavigationGroup({
     window: win
  });
  
  var masterView = Ti.UI.createWindow();
  var tabwin = Ti.UI.createWindow({backgroundColor: '#FFF'});
  
  var tabs = Ti.UI.createTabGroup();
  
  var tab = Ti.UI.createTab({
      window: tabwin,
      title: 'Tab'
  });
  
  tabs.addTab(tab);
  masterView.add(tabs);
  tabs.show();
  
  var splitwin = Ti.UI.iPad.createSplitWindow({
      detailView:nav,
      masterView:masterView
  });
  
  splitwin.addEventListener('visible',function(e)
  {
      if (e.view == 'detail')
      {
          e.button.title = "Master";
          win.leftNavButton = e.button;
      }
      else if (e.view == 'master')
      {
          win.leftNavButton = null;
      }
  });
  
  var tabwindow = Ti.UI.createWindow({
      title: 'Master',
      backgroundColor: '#FFF',
      navBarHidden: false
  });
  
  
  splitwin.open();
  </code></pre>
  
  <p>The <code>masterView</code> i changed to a tabGroup (which doesn't show a thing anymore after I run it in simulator. When I try to add a tabGroup to the MasterView, the splitscreen does show the window, but doesn't show the tabGroup.</p>
  
  <p>My question now is, how do I add tabs or a tabgroup to the SplitWindow?</p>