I need a quick response please help me out, I just need to know a very basic thing in iPhone Titanium that how to call new window on button click. My application is running on android and I used these lines of code to call another window but it is not working on iPhone.
var MainMenuScreen = require('/ui/iphone/MenuScreen/MainMenuScreen');
MainMenu = new MainMenuScreen(json);
MainMenu.open();
But it doesn't work on iPhone, Please help me out quickly. As its just my login screen then I have to manipulate between many windows and views so how can I do that on iPhone.