iPhone app with no tabs, but with titlebars
I'm probably misunderstanding a basic concept here, but it seems all examples have an app.js that set up a tabgroup in order to have titles.
What I'm trying to do is set up an app with a titlebar, but I don't need tabs. However, without creating a tab group I can't seem to have titles on my windows.
Is this right, or am I missing something?
3 Answers
-
No need for that, just create a window and you are off
Titanium.UI.setBackgroundColor('#000'); var window = Titanium.UI.createWindow({ title:'Window No Tab Bar' }); window.open({ modal:true, modalTransitionStyle: Ti.UI.iPhone.MODAL_TRANSITION_STYLE_FLIP_HORIZONTAL, modalStyle: Ti.UI.iPhone.MODAL_PRESENTATION_FORMSHEET });
-
You need to hide the tabGroup on the window, before opening the it, using
myWin.hideTabBar();
-
Hi… but… If you try this… in Android not works… Android ever show the tab :S
exists solution for both platforms ?