var win1 = Ti.UI.createWindow({
backgroundColor: 'blue',
title: 'Blue'
});
win1.add(Ti.UI.createLabel({text: 'I am a blue window.'}));
var win2 = Ti.UI.createWindow({
backgroundColor: 'red',
title: 'Red'
});
win2.add(Ti.UI.createLabel({text: 'I am a red window.'}));
var tab1 = Ti.UI.createTab({
window: win1,
title: 'Blue'
}),
tab2 = Ti.UI.createTab({
window: win2,
title: 'Red'
}),
tabGroup = Ti.UI.createTabGroup({
tabs: [tab1, tab2]
});
tabGroup.open({transition:Titanium.UI.iOS.AnimationStyle.FLIP_FROM_LEFT });
*Expected Result:*
* App boots with a transition animation flip from left.
*Actual Result*
* App will crash
Master: https://github.com/appcelerator/titanium_mobile/pull/8258 6.0.X: https://github.com/appcelerator/titanium_mobile/pull/8258 Possible backport: https://github.com/appcelerator/titanium_mobile/pull/8259
Verified as fixed, using the GA stack the application errors with a build error not a crash: {noformat} [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/Intermediates/TIMOB-23824-2.build/Debug-iphoneos/TIMOB-23824-2.build/Objects-normal/armv7/TiUIiOSProxy.o Classes/TiUIiOSProxy.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (1 failure) {noformat} Tested on {noformat} iPhone 6 plus (9.3.4) iPhone 6 (10.0) Mac OSX El Capitan 10.11.6 Appc NPM: 4.2.7 Studio: 4.7.1.201608190732 SDK: 5.5.0.v20160825003900 Appc CLI: 5.5.0-5 Xcode 7.3.1/xcode 8 beta 4 Node: v4.4.7 {noformat} *Closing ticket*