Its mine 3rd day on Titanium SDK.
How can I add tab bar in my window from another .js file ? I mean I have write the code of tab bar in createTabbar.js and I want to add in my firstView.js .
Is it possible ? As I have seen many examples those have written tab bar code in app.js file so…
Thanks…
Solved :
I have mainTab.js that holds/returns tab bar.
mainTab.js :
Now in my login.js file I called mainTab.js like :
As I am new to Titanium, if there is some better approach to do the same, please suggest me…