// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff',
navBarHidden: false,
tabBarHidden: true
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Tab 1',
window:win1
});
var b1 = Titanium.UI.createButton({
title:'Win 2',
height:40,
width:200,
top:30
});
win1.add(b1);
b1.addEventListener('click', function(e)
{
var w = Titanium.UI.createWindow({
fullscreen:true,
//url:'new_win.js',
barColor:'#111',
orientationModes:[Titanium.UI.LANDSCAPE_LEFT]
});
tab1.open(w);
});
tabGroup.addTab(tab1);
// open tab group
tabGroup.open();
1. Click Win2
2. Return to Tab1
Why is this cloned?
This issue does not reproduce with iOS 7.1 TiSDK 3.4.0 Appcelerator Studio, build: 3.3.0.201407111535 Titanium Command-Line Interface, CLI version 3.3.0,
Unsure why this was cloned. Placing into QE Triage.
master PR: https://github.com/appcelerator/titanium_mobile/pull/6115 3_4_X PR: https://github.com/appcelerator/titanium_mobile/pull/6116
Closing as fixed. Tested with Mac osx 10.9.5 Mavericks Appcelerator Studio, build: 3.4.0.201409161950 Titanium SDK, build: 3.4.0.v20140917120000 acs@1.0.16 alloy 1.5.0-rc2 install@0.1.7 npm@1.4.23 sudo@1.0.3 titanium 3.4.0-rc4 titanium-code-processor@1.1.1 Xcode6.0.1 (6A317) Devices: iPhone 5S iOS8