Hi,
Is there any way to lock the screen only in one window when we use NavigationGroup? For example First.js and Second.js
In Second.js 's Window, I set like this
win.orientationModes = [Ti.UI.PORTRAIT];
But still in that window all orientationModes working fine.
I tried to open Second Window with modal:true instead of NavigationGroup.open , But no use :(
1 Answer
win.orientationModes = [Ti.UI.PORTRAIT]; it should work.
orientationModes must be set before opening the window.
Your Answer
Think you can help? Login to answer this question!