Issue
When using modalTransitionStyle the bar image disappears and just shows the bar color during the flip animation.
Code Sample
var tabGroup = Ti.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'1',
backgroundColor:'#fff',
barImage:'navbar.png',
barColor: '#AAA'
});
var button = Ti.UI.createButton({
title:'Open',
width:100,
height:40
});
win1.add(button);
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'1',
window:win1
});
tabGroup.addTab(tab1);
button.addEventListener('click', function(){
var win = Ti.UI.createWindow({
barImage:'navbar.png',
barColor: '#AAA'
});
var close = Ti.UI.createButton({
title:'close',
width:100,
height:40
});
close.addEventListener('click', function(){
win.close();
});
win.add(close);
win.open({
modal: true,
modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL,
modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FULLSCREEN
});
});
tabGroup.open();
Repro Steps
1. Drop code into app.js.
2. Download attached barImage asset and drop into resources folder.
3. Run app using 1.7.5.
4. Click 'Open'
5. See Red bar color appear during animation.
Tested on Ti Studio 1.0.7.201112152014 Ti Mob 1.8.0.1.RC3 OSX Lion iPhone 4.3s sim, iPhone 4S OS 5.0, iPa2 2 OS 4.3.5 Expected behavior of modal transition not losing bar image is shown after running sample code *Note keeping open to close against 1.9.0
Closing this issue as fixed against 1.8.0.1