Animate a windows when setting active tab
Hi
I can switch windows by setting active tabs but there are no animation.
This is the code:
Titanium.UI.currentTabGroup.setActiveTab(Titanium.UI.currentTabGroup.tabs[0]);
Titanium.UI.currentTabGroup.open({
transition:Titanium.UI.iPhone.AnimationStyle.CURL_UP
});
Anything wrong with the above code?
Thanks!
2 Answers
-
Anyone got any further with this? I'm having exactly the same problem
-
I am having the same issue. It appears that the setActiveTab is firing before the code for the open. I wonder if there is a way to set the animation on a tab that no matter when or how it is opened, it fires the animation.