PDA

View Full Version : Do there any option to block the orientation changes within in the browser?



pm.sreejith
2 Jan 2012, 5:11 AM
Hi All,

I have developed an application by using ST2.0 PR2 with MVC architecture. So I would like to block the orientation changes and application always view in landscape. Do there any option to do this with ST2.0 PR2?

Please let me know, anybody have any solution.

Thanks in advance.

mitchellsimoens
2 Jan 2012, 5:55 AM
I haven't done this and think it's not a wise idea personally but I have seen people use a <meta> tag or rotate their viewport class when it detects an orientation change.

pm.sreejith
2 Jan 2012, 8:55 PM
I haven't done this and think it's not a wise idea personally but I have seen people use a <meta> tag or rotate their viewport class when it detects an orientation change.

Hi mitchellsimoens,
but my question was, how can we block the orientation changes even though it runs on safari browser of IPad/IPod?

mitchellsimoens
3 Jan 2012, 5:22 AM
Then your answer is you can't.